*** tpb has joined #yosys | 00:00 | |
*** allenlorenz has quit IRC | 00:09 | |
*** allenlorenz has joined #yosys | 00:10 | |
*** lutsabound has quit IRC | 03:37 | |
*** Jybz has joined #yosys | 05:24 | |
*** dh73 has joined #yosys | 05:27 | |
*** dh73 has quit IRC | 06:02 | |
promach3 | Is it possible to simulate and synthesize and generate bitstream from https://github.com/aws/aws-fpga/blob/master/hdk/common/shell_v04261818/design/sh_ddr/sim/sh_ddr.sv ? | 06:28 |
---|---|---|
tpb | Title: aws-fpga/sh_ddr.sv at master · aws/aws-fpga · GitHub (at github.com) | 06:28 |
*** emeb_mac has quit IRC | 07:03 | |
*** m4ssi has joined #yosys | 08:08 | |
*** fsasm has joined #yosys | 08:36 | |
*** dys has joined #yosys | 09:03 | |
*** kraiskil has joined #yosys | 09:45 | |
*** tlwoerner has quit IRC | 09:47 | |
*** tlwoerner has joined #yosys | 09:48 | |
*** kraiskil has quit IRC | 09:58 | |
*** Twix has joined #yosys | 10:03 | |
*** kraiskil has joined #yosys | 10:20 | |
*** kraiskil has quit IRC | 10:34 | |
*** vidbina has joined #yosys | 11:06 | |
*** kraiskil has joined #yosys | 12:21 | |
*** vidbina has quit IRC | 13:06 | |
*** kraiskil has quit IRC | 13:30 | |
*** kraiskil has joined #yosys | 13:45 | |
*** kraiskil has quit IRC | 13:51 | |
*** kraiskil has joined #yosys | 14:23 | |
*** d0nker5 has joined #yosys | 15:06 | |
*** kraiskil has quit IRC | 15:15 | |
*** dh73 has joined #yosys | 15:25 | |
*** vidbina has joined #yosys | 15:36 | |
*** emeb has joined #yosys | 15:50 | |
*** rjeli has joined #yosys | 15:54 | |
rjeli | hello! got an icebreaker @ ccc yesterday & in love | 15:55 |
rjeli | y’all are amazing, foss fpga is amazing | 15:55 |
OK_b00m3r | rjeli: o/ | 15:57 |
ZipCPU | o/ | 16:04 |
klotz | Yeah got one as well | 16:08 |
klotz | Hands down my best investment this year | 16:08 |
*** fevv8[m] has left #yosys | 16:56 | |
*** Jybz has quit IRC | 17:00 | |
*** vidbina has quit IRC | 17:14 | |
*** vidbina has joined #yosys | 17:17 | |
*** m4ssi has quit IRC | 17:36 | |
*** dys has quit IRC | 18:20 | |
*** rohitksingh has joined #yosys | 18:51 | |
*** kraiskil has joined #yosys | 19:06 | |
*** allenlorenz has quit IRC | 19:28 | |
*** kraiskil has quit IRC | 19:39 | |
*** parport0 has quit IRC | 19:50 | |
*** parport0 has joined #yosys | 19:51 | |
*** rombik_su has joined #yosys | 20:16 | |
*** meawoppl has joined #yosys | 20:32 | |
meawoppl | Alright, I have another strange bug to report | 20:32 |
*** dh73 has quit IRC | 20:33 | |
meawoppl | rather I don't know if it is a bug or verilog "feature" | 20:33 |
meawoppl | yosys appears to support synthesizing case statements where the labels aren't defined | 20:33 |
meawoppl | localparam[3:0] START = 0, FRAME_START = 1, FRAME_END = 2, IGNORE = 3, LONGPACKET = 4, UNKNOWN = 10, DONE = 15; reg[3:0] state = START; | 20:33 |
meawoppl | case(state) | 20:34 |
meawoppl | FOO: whatever | 20:34 |
meawoppl | endcase | 20:34 |
meawoppl | compiles | 20:34 |
*** allenlorenz has joined #yosys | 20:40 | |
daveshah | I think this is a Verilog oddity | 20:47 |
daveshah | case statements allow signals as labels | 20:48 |
daveshah | and undefined signals default to a 1 bit wire (without `default_nettype) | 20:48 |
*** rohitksingh has quit IRC | 20:50 | |
*** allenlorenz has quit IRC | 20:50 | |
daveshah | You should at least get a warning like `Warning: Identifier `\FOO' is implicitly declared.` | 20:50 |
*** emeb_mac has joined #yosys | 20:52 | |
meawoppl | oui, that seems fraught imho, signals as labels seems a little generally hairy, but I can see how it could be used.... | 20:56 |
meawoppl | is there any way to have yosys promote warnings to errors? | 20:57 |
meawoppl | My general experience there is that warnings are more likely than not errors of some variety | 20:57 |
meawoppl | (but as advertised, I am a verilog n00b) | 20:57 |
meawoppl | Also I feel like I should send you a bottle of whisky for how helpful you have been daveshah | 21:01 |
daveshah | You can do ` -e regex` to turn warnings matching a regex into an error | 21:02 |
daveshah | In this case the best option is to add "`default_nettype none" at the top of your file | 21:03 |
daveshah | This will prevent any implicit signals from being created | 21:03 |
*** X-Scale has quit IRC | 21:40 | |
*** allenlorenz has joined #yosys | 21:57 | |
*** devik2 has joined #yosys | 22:41 | |
devik2 | ZipCPU, can I ask about your f_past_valid usage ? | 22:45 |
ZipCPU | Sure, what's your question? | 22:46 |
devik2 | what's difference from $initstate ? | 22:46 |
ZipCPU | Probably just that I've never used $initstate ;) | 22:46 |
ZipCPU | But seriously, I'd need to look it up to know | 22:46 |
devik2 | ahh .. I started to learn from your blog and I then found this one and it seems to do the same :-) | 22:47 |
devik2 | btw, I tried to understand how to verify whole simple MCU, I just created extra simple one as one case() - all in one cycle, no pipelining, | 22:48 |
ZipCPU | Ok, go on | 22:49 |
devik2 | then fully pipelined one with bypasses etc.. | 22:49 |
devik2 | and proved they have the same output for any input code (coded as $anyconst) | 22:49 |
ZipCPU | I should point out ... I'm still very much the learner myself. I've only been doing formal types of stuffs since ... October, 2017 | 22:49 |
devik2 | it seems to work, I proved it for 20 cycles and any 8 instruction code | 22:50 |
ZipCPU | Awesome! How about induction? | 22:50 |
devik2 | not yet :-( | 22:50 |
devik2 | I think, is ever possible to do sequntioal equivalence as induction ? | 22:51 |
devik2 | it seems as too complex task | 22:51 |
ZipCPU | Might depend upon the core | 22:52 |
devik2 | interestingly, yosys "sat" command is sometimes faster in proving than yosys-smt | 22:52 |
ZipCPU | Sorry, but .... I'm going to need to step away here. Perhaps we can continue later? | 22:52 |
devik2 | yeah that ok, | 22:53 |
devik2 | I have to ho to sleep, it is 23PM here | 22:53 |
*** TheHolyC has joined #yosys | 22:53 | |
*** dh73 has joined #yosys | 23:15 | |
*** dh73 has left #yosys | 23:15 | |
*** TheHolyC has quit IRC | 23:21 | |
*** TheHolyC has joined #yosys | 23:22 | |
*** TheHolyC has quit IRC | 23:53 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!