*** tpb has joined #yosys | 00:00 | |
*** X-Scale` has joined #yosys | 00:20 | |
*** X-Scale has quit IRC | 00:22 | |
*** X-Scale` is now known as X-Scale | 00:22 | |
*** AlexDaniel has quit IRC | 01:22 | |
*** futarisIRCcloud has joined #yosys | 01:31 | |
*** cr1901_modern has quit IRC | 01:32 | |
*** citypw has joined #yosys | 01:40 | |
*** gsi_ has joined #yosys | 02:17 | |
*** gsi__ has quit IRC | 02:20 | |
*** knielsen has quit IRC | 02:43 | |
*** jevinskie has joined #yosys | 02:53 | |
*** knielsen has joined #yosys | 02:56 | |
*** PyroPeter has quit IRC | 02:56 | |
*** proteusguy has quit IRC | 04:07 | |
dormando | is it possible to get nextpnr to visualize/outline wires specific to a module? | 04:17 |
---|---|---|
*** jevinskie has quit IRC | 04:44 | |
tnt | dormando: not that I know. | 04:54 |
tnt | you can select them one by one ... | 04:54 |
dormando | heh. I did that for a few minutes. it's the one thing I miss from the ISE atrocity | 04:55 |
tnt | Maybe a small python script could help. | 04:55 |
*** jevinskie has joined #yosys | 05:02 | |
*** rohitksingh_work has joined #yosys | 05:30 | |
*** jevinskie has quit IRC | 05:43 | |
*** proteusguy has joined #yosys | 05:54 | |
*** jevinskie has joined #yosys | 05:59 | |
*** citypw has quit IRC | 06:10 | |
*** citypw has joined #yosys | 06:22 | |
*** alcorn has quit IRC | 06:32 | |
*** citypw has quit IRC | 06:36 | |
*** citypw has joined #yosys | 06:53 | |
*** citypw has quit IRC | 07:20 | |
*** rohitksingh_work has quit IRC | 07:38 | |
*** m4ssi has joined #yosys | 07:38 | |
*** emeb_mac has quit IRC | 08:11 | |
*** Cerpin has quit IRC | 08:30 | |
*** Cerpin has joined #yosys | 08:32 | |
*** pie___ has quit IRC | 09:15 | |
*** fsasm has joined #yosys | 09:22 | |
*** vidbina has joined #yosys | 09:22 | |
*** vidbina has quit IRC | 10:22 | |
*** futarisIRCcloud has quit IRC | 10:40 | |
*** cr1901_modern has joined #yosys | 11:41 | |
*** vidbina has joined #yosys | 11:42 | |
*** proteusguy has quit IRC | 12:13 | |
*** thasti has joined #yosys | 12:55 | |
bluesceada | hey everyone, i want to NOT initialize BRAM in my ice40, to analyze the start up state of RAM, this is possible in lattice icecube2, but how would it be possible with yosys/nextpnr ? | 12:57 |
bluesceada | i am already using the bare SB_RAM40_4K, but that alone doesn't help it | 12:57 |
bluesceada | i tried withou specifying parameters, and I tried with giving all INIT parameters don't care's like: .INIT_0(256'hxxxx....xx) to .INIT_F(256'hxxx..xx) | 12:59 |
bluesceada | in icecube2 we need to check a box in the tool to not initialize memories, while somewhere else they document to use the SB_RAM40_4K as a non-initialized memory ... but it soemhow is always reset to all-0's | 13:01 |
bluesceada | (if we do not check the box, that is, otherwise it contains all seemingly random data) | 13:01 |
*** vidbina has quit IRC | 13:03 | |
*** MoeIcenowy has quit IRC | 13:06 | |
*** MoeIcenowy has joined #yosys | 13:07 | |
*** jevinskie has quit IRC | 13:15 | |
tnt | bluesceada: not sure it's supported | 13:15 |
bluesceada | ok let's wait a bit if someone else shows up that might know | 13:16 |
tnt | I'm looking at the icepack sources and I don't see anything that would disable it. | 13:20 |
bluesceada | ah thanks for looking into it, you mean disabling the initialization? | 13:28 |
bluesceada | seems yosys also goes with 'xxxx', so it must happen after yosys | 13:29 |
bluesceada | so, probably the x will be replaced with 0 in some later step? | 13:29 |
tnt | yeah, that's the very last step when converting the .asc into the .bin file ... | 13:29 |
bluesceada | or rather, if there is no initialization, the packer will make it initialize to 0 | 13:29 |
bluesceada | ok | 13:30 |
tnt | so even if supported this wouldn't be in verilog, it would be an option during the icepack step. | 13:30 |
bluesceada | ok that would also be fine of course | 13:30 |
tnt | because as discussed recently you can't do that "per bram", it's per quadrant. | 13:30 |
bluesceada | ok yes I think that is also how it's shown in icecube2 | 13:31 |
tnt | you can try to comment out https://github.com/cliffordwolf/icestorm/blob/master/icepack/icepack.cc#L538 | 13:32 |
tpb | Title: icestorm/icepack.cc at master · cliffordwolf/icestorm · GitHub (at github.com) | 13:32 |
bluesceada | thanks | 13:33 |
bluesceada | you think that complete if {..} ? | 13:34 |
tnt | I'd try that yes | 13:43 |
tnt | trying to make a PUF btw ? | 13:47 |
bluesceada | tnt, yes, for the students in my lab | 13:48 |
bluesceada | that used icecube2 before | 13:49 |
bluesceada | btw it seems to work, partially | 13:50 |
bluesceada | seems every second byte is still 00, but that might be another problem | 13:51 |
bluesceada | from comparing the bitstream filesizes, it is now roughly on par with the icecube2-non-initialized one, but not exactly the same size | 14:01 |
*** alcorn has joined #yosys | 14:22 | |
*** rohitksingh has joined #yosys | 14:56 | |
*** dys has joined #yosys | 15:03 | |
bluesceada | ok got it, will try to make it a pull request for icepack soon... | 15:07 |
*** alexhw has joined #yosys | 15:07 | |
bluesceada | tnt, it was actually right what you said and I had another issue with word/byte addresses, however I also found that it is sufficient to exclude the last part of that if-condition in which BRAM is initialized | 15:07 |
tnt | bluesceada: yeah, very possible you can comment less, but the rest of the commands written in that block wouldn't have any effect if you don't write any data, so they're useless. | 15:10 |
tnt | but you could make the option allow to specify which bank # you want to include or not, maybe as a bitmask | 15:10 |
bluesceada | ok i thought these might have to do with the mode of addressing, but yeah in the end it was wrong verilog | 15:11 |
bluesceada | i dont have much time for this so I would just add a simple option ... | 15:12 |
bluesceada | next thing we need later in the semester will be placement constraints, but i see this has been added to nextpnr :-) | 15:13 |
bluesceada | so this lab will be completely on open source software :-) | 15:14 |
*** MoeIcenowy has quit IRC | 15:14 | |
*** MoeIcenowy has joined #yosys | 15:15 | |
tnt | syntax is different than icecube for placement. (tbh I'm not even sure what the syntax was for icecube) | 15:15 |
bluesceada | i think it is better, can work inline verilog code | 15:15 |
bluesceada | more similar to how xilinx supports I think | 15:15 |
bluesceada | but have to still take a closer look.. | 15:15 |
tnt | Do you have an example howit was for icecube ? | 15:15 |
*** vidbina has joined #yosys | 15:16 | |
*** MoeIcenowy has quit IRC | 15:17 | |
*** MoeIcenowy has joined #yosys | 15:17 | |
bluesceada | it needs to be inside the constraints file, not easy to handwrite imo, generated from the icecube gui | 15:19 |
*** MoeIcenowy has quit IRC | 15:21 | |
*** MoeIcenowy has joined #yosys | 15:21 | |
bluesceada | if you want a full example, i can somehow make it accessible to you | 15:21 |
tnt | nah it's fine, I was just curious | 15:22 |
bluesceada | probably not too bad to support both ways | 15:22 |
*** blunaxela has quit IRC | 15:23 | |
*** MoeIcenowy has quit IRC | 15:23 | |
*** MoeIcenowy has joined #yosys | 15:23 | |
bluesceada | for xilinx i was using a LOC constraint in a constraint file to place a full block. Then, within the block, relative location constraints (RLOC) as vhdl attributes (also works in verilog) | 15:24 |
*** blunaxela has joined #yosys | 15:26 | |
*** fsasm has quit IRC | 15:44 | |
*** alcorn has quit IRC | 15:44 | |
*** vid has joined #yosys | 15:45 | |
*** vidbina has quit IRC | 15:46 | |
*** emeb has joined #yosys | 15:46 | |
*** fsasm has joined #yosys | 15:59 | |
*** dys has quit IRC | 16:11 | |
*** m4ssi has quit IRC | 16:12 | |
*** vid has quit IRC | 16:14 | |
*** fsasm has quit IRC | 16:16 | |
*** emeb_mac has joined #yosys | 16:35 | |
*** gnufan_home has joined #yosys | 16:50 | |
*** vid has joined #yosys | 17:05 | |
*** Laksen has joined #yosys | 17:19 | |
*** vid has quit IRC | 17:21 | |
*** jevinskie has joined #yosys | 17:38 | |
*** jevinskie has quit IRC | 17:39 | |
*** rohitksingh has quit IRC | 18:32 | |
*** X-Scale` has joined #yosys | 18:35 | |
*** X-Scale has quit IRC | 18:37 | |
*** X-Scale` is now known as X-Scale | 18:37 | |
*** rohitksingh has joined #yosys | 18:42 | |
*** vonnieda has joined #yosys | 19:26 | |
*** adjtm has joined #yosys | 19:31 | |
*** adjtm_ has quit IRC | 19:33 | |
*** vid has joined #yosys | 19:57 | |
*** rohitksingh has quit IRC | 20:21 | |
*** jevinskie has joined #yosys | 20:34 | |
*** vid has quit IRC | 20:34 | |
*** jevinskie has quit IRC | 20:41 | |
*** jevinskie has joined #yosys | 21:07 | |
*** jevinskie has quit IRC | 21:14 | |
mithro | Anyone know the best way to write a yosys pass that would propagate parameters following signal input / output cones? | 21:23 |
mithro | daveshah: would this be something you could do with the new python API? | 21:28 |
mithro | Anyone used the new Python API in Yosys? | 21:29 |
daveshah | mithro: I haven't used the Python API yet, but this is the sort of thing it is designed for | 21:30 |
mithro | daveshah: Is there any examples I might be able to crib from? | 21:31 |
daveshah | mithro: https://github.com/YosysHQ/yosys/tree/master/examples/python-api | 21:31 |
tpb | Title: yosys/examples/python-api at master · YosysHQ/yosys · GitHub (at github.com) | 21:31 |
mithro | daveshah: Thanks! | 21:32 |
*** gnufan_home has quit IRC | 21:59 | |
*** gnufan_home has joined #yosys | 22:00 | |
*** gnufan_home has quit IRC | 22:17 | |
*** vonnieda has quit IRC | 22:39 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!