Saturday, 2019-06-08

*** tpb has joined #yosys00:00
*** emeb has left #yosys00:14
*** emeb_mac has joined #yosys00:18
*** cr1901 has quit IRC00:23
*** dys has quit IRC00:44
*** gnufan_home has quit IRC00:45
*** cr1901 has joined #yosys00:55
*** gsi__ has joined #yosys01:29
*** gsi_ has quit IRC01:33
*** PyroPeter has quit IRC03:05
*** PyroPeter has joined #yosys03:19
*** blunaxela has quit IRC05:28
*** blunaxela has joined #yosys05:32
*** rohitksingh has joined #yosys06:19
*** emeb_mac has quit IRC06:45
*** _whitelogger has quit IRC06:56
*** _whitelogger has joined #yosys06:58
*** dys has joined #yosys07:42
*** gsi__ is now known as gsi_07:58
corecodehm why does this very simple counter design simulate, but when i upload it to the fpga, i don't see any motion09:00
corecodemaybe hfosc stuck?09:03
tnt"this" ?09:06
tnta link is missing maybe ?09:06
*** rohitksingh has quit IRC09:08
corecodehttps://gist.github.com/28723546de0f6232805f17295591e91c09:09
tpbTitle: counter.v · GitHub (at gist.github.com)09:09
corecodethe fpga clearly gets configured, leds start lighting up09:10
tntDo you see nenable go high then low ?09:11
corecodeyea, but that might be the pullup09:13
corecodeexternal pullup09:13
tntalso, as a general recommendation, I'd make the reset be a FF output and not a combinatorial signal.09:13
corecodeoh yes09:14
corecodegood point09:14
tntI was mostly concerned with it being stuck high but if you see it go low when running that's fine.09:14
corecodesomehow all outputs seem to go low09:17
corecodehttps://gist.github.com/ee75db6a9aec45af277b018b9a9aac98 better?09:18
tpbTitle: counter.v · GitHub (at gist.github.com)09:18
corecodeoh, maybe programming the fpga fails09:21
corecodeaha09:25
corecodenow it works09:25
corecodebut i had to disconnect the irq pin that was connected to cdone09:26
corecodemaybe my programmer never sees cdone rise because irq is being pulled down?09:26
corecodebut the irq pin is declared as inout... shouldn't that remain as 'z' if i don't do anything?09:26
corecodeah i guess i need to instantiate an explicit IO cell for the open drain output09:29
corecodeERROR:       Unknown fixed type wire node value, 'z'09:31
corecodesays nextpnr09:31
corecode        "irq": {09:34
corecode          "direction": "inout",09:34
corecode          "bits": [ "z" ]09:34
corecode        },09:34
corecode09:34
corecodethat seems wrong09:34
tntAnything that involves tristate I always instantiate SB_IO09:40
corecodei wonder why the inference doesn't work09:41
corecodedo we have formal documentation of the primitives, or is the vendor documentation the reference?09:46
tntthe vendor doc is the reference09:49
corecodethanks tnt, that helped me09:58
*** voxadam has quit IRC10:22
*** somlo has quit IRC10:26
*** voxadam has joined #yosys10:29
*** rohitksingh has joined #yosys11:00
*** rohitksingh has quit IRC11:11
*** GoldRin has joined #yosys11:54
*** X-Scale has joined #yosys12:00
*** citypw has joined #yosys12:27
*** maikmerten has joined #yosys12:32
*** somlo has joined #yosys12:52
*** fsasm__ has joined #yosys13:01
*** kraiskil has joined #yosys13:17
corecodei guess i need to implement SB_RGB_DRV for the ice40 ultra13:46
corecodei think i skipped that the last time13:46
*** kraiskil has quit IRC14:03
*** dys has quit IRC14:34
*** fsasm__ has quit IRC14:44
*** kraiskil has joined #yosys15:12
*** kraiskil has quit IRC15:25
*** dys has joined #yosys15:26
*** emeb has joined #yosys15:45
*** gnufan_home has joined #yosys15:54
*** proteusguy has quit IRC16:25
*** proteusguy has joined #yosys16:49
*** rohitksingh has joined #yosys17:20
*** rohitksingh has quit IRC17:36
*** rohitksingh has joined #yosys17:43
*** rohitksingh has quit IRC18:23
*** rrika_ is now known as rrika18:34
rrikahello, is there a way for the nextpnr gui to load config files produced by ecpunpack?18:35
*** fsasm__ has joined #yosys18:38
daveshahNo, afraid there isn't18:42
daveshahNever got round to doing netlist re for ecp518:42
cr1901... shit, I just realized this is going to be hell for machxo2 too...18:44
tntcr1901: ?18:45
cr1901tiles in machxo2 are very similar in structure to ecp5, but naming of nets and tiles (on the edges and between parts of different sizes) are less well-behaved than ecp518:46
rrikadaveshah, thanks for the answer!18:47
*** kraiskil has joined #yosys18:51
*** citypw has quit IRC19:03
*** kraiskil has quit IRC19:44
*** maikmerten has quit IRC19:48
*** Wolf480pl has quit IRC19:49
*** Wolf480pl has joined #yosys19:53
*** miek has quit IRC20:07
*** miek has joined #yosys20:21
*** togo has joined #yosys20:28
*** qinfengling has quit IRC20:37
*** qinfengling has joined #yosys20:38
*** Wolf480pl has quit IRC20:40
*** Wolf480pl has joined #yosys20:42
*** Wolf480pl has quit IRC20:50
*** Wolf480pl has joined #yosys20:54
*** Wolf480pl has joined #yosys20:58
*** fsasm__ has quit IRC21:53
*** togo has quit IRC22:10
*** indy has quit IRC23:09
*** indy has joined #yosys23:18
*** cr1901 has quit IRC23:54
*** cr1901 has joined #yosys23:55

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!