*** tpb has joined #yosys | 00:00 | |
*** digshadow has joined #yosys | 00:01 | |
ZipCPU | Hi, azzizi! This is a place you can hold a conversation--so you can do more here than just ask questions. | 00:06 |
---|---|---|
ZipCPU | I know the various "synth" steps are usually composed of many separate steps within a design, and these separate steps can be selected and activated individually. | 00:07 |
ZipCPU | From that standpoint, it sounds like inputting a design via read_verilog, followed by some amount of processing, followed by write_verilog, followed by your processing, followed by read_verilog and the processing chain again, followed by write_whatever might suit your needs. | 00:08 |
ZipCPU | But ... getting back the original behavioral code from the platform specific Verilog code? That sounds like a hard problem. | 00:10 |
*** emeb has quit IRC | 01:00 | |
awygle | ILANG is a textual representation of RTLIL so it should not lose information. You should be able to modify the ILANG as long as you end up with a legal file. You might also consider writing a custom Yosys pass. | 01:03 |
awygle | azzizi: ^ | 01:03 |
*** emeb_mac has joined #yosys | 01:04 | |
*** m_w has quit IRC | 01:08 | |
*** digshadow has quit IRC | 01:09 | |
*** digshadow has joined #yosys | 01:16 | |
*** quigonjinn has joined #yosys | 01:24 | |
*** digshadow has quit IRC | 04:00 | |
*** digshadow has joined #yosys | 04:19 | |
*** leviathan has joined #yosys | 04:43 | |
*** seldridge0 has quit IRC | 05:02 | |
*** quigonjinn has quit IRC | 05:03 | |
*** dys has quit IRC | 05:48 | |
*** proteusguy has quit IRC | 06:44 | |
*** dys has joined #yosys | 06:54 | |
*** emeb_mac has quit IRC | 07:16 | |
*** dys has quit IRC | 07:24 | |
*** quigonjinn has joined #yosys | 07:27 | |
daveshah | azzizi: neither write_verilog nor read_verilog perform any synthesis | 07:55 |
daveshah | read_verilog reads in the source code and compiles it to a high level (architecture agnostic) RTLIL netlist | 07:55 |
daveshah | write_verilog simply dumps the current internal RTLIL to verilog | 07:56 |
daveshah | If you want the output to be synthesised to a particular architecture, you need to call one of the synth commands, or manually set up your own sequence of commands to do synthesis, between read_verilog and write_verilog | 07:56 |
*** GuzTech has joined #yosys | 07:57 | |
daveshah | Even the first compilation step after read_verilog does loose some information, so you can't go back to the original input verilog | 07:57 |
daveshah | Synthesis will cause much more significant differences though. The resulting verilog will still be functionally equivalent though. | 07:58 |
*** dmin7 has joined #yosys | 07:58 | |
daveshah | The AST outputs are for debugging only, they are not a useful intermediate format as Yosys has no facility to read them in | 07:59 |
daveshah | The most useful intermediate format is ILANG | 08:00 |
*** ZipCPU has quit IRC | 08:00 | |
*** ZipCPU has joined #yosys | 08:05 | |
*** jwhitmore has quit IRC | 08:29 | |
*** promach_ has joined #yosys | 08:45 | |
*** digshadow has quit IRC | 08:46 | |
*** digshadow has joined #yosys | 08:51 | |
*** jwhitmore has joined #yosys | 09:04 | |
*** grummel has quit IRC | 09:12 | |
*** esden has quit IRC | 09:12 | |
*** azzizi has quit IRC | 09:18 | |
*** grummel has joined #yosys | 09:21 | |
*** proteusguy has joined #yosys | 09:22 | |
*** proteus-guy has quit IRC | 09:25 | |
*** _whitelogger has quit IRC | 09:43 | |
*** _whitelogger has joined #yosys | 09:45 | |
*** FabM has joined #yosys | 10:01 | |
*** maartenBE has quit IRC | 11:28 | |
*** maartenBE has joined #yosys | 11:34 | |
*** proteus-guy has joined #yosys | 11:49 | |
*** develonepi3 has joined #yosys | 11:55 | |
*** seldridge0 has joined #yosys | 12:07 | |
*** maartenBE has quit IRC | 12:17 | |
*** maartenBE has joined #yosys | 12:18 | |
*** jwhitmore has quit IRC | 12:39 | |
*** eduardo_ has joined #yosys | 12:43 | |
*** eduardo__ has quit IRC | 12:47 | |
*** seldridge0 has quit IRC | 13:05 | |
*** seldridge0 has joined #yosys | 13:41 | |
*** leviathan has quit IRC | 13:44 | |
*** leviathan has joined #yosys | 13:47 | |
*** emeb has joined #yosys | 13:51 | |
*** cemerick_ has quit IRC | 13:56 | |
*** [X-Scale] has joined #yosys | 14:21 | |
*** X-Scale has quit IRC | 14:22 | |
*** [X-Scale] is now known as X-Scale | 14:22 | |
*** [X-Scale] has joined #yosys | 14:26 | |
*** X-Scale has quit IRC | 14:28 | |
*** [X-Scale] is now known as X-Scale | 14:28 | |
*** promach__ has joined #yosys | 14:57 | |
*** promach__ is now known as promach2 | 15:00 | |
*** quigonjinn has quit IRC | 15:06 | |
*** GuzTech has quit IRC | 15:10 | |
*** cemerick_ has joined #yosys | 16:07 | |
*** cemerick_ has quit IRC | 16:12 | |
*** promach2 has quit IRC | 16:31 | |
*** seldridge0 has quit IRC | 17:34 | |
*** digshadow has quit IRC | 17:57 | |
*** dys has joined #yosys | 17:59 | |
*** leviathan has quit IRC | 18:05 | |
*** dxld_ has joined #yosys | 18:13 | |
*** dxld has quit IRC | 18:14 | |
*** dxld_ is now known as dxld | 18:14 | |
*** jwhitmore has joined #yosys | 18:33 | |
*** seldridge0 has joined #yosys | 18:54 | |
*** josh- has joined #yosys | 19:09 | |
*** kehribar has joined #yosys | 19:15 | |
*** awygle is now known as aygle | 19:16 | |
*** aygle is now known as awygle | 19:20 | |
*** guan has quit IRC | 19:28 | |
*** guan has joined #yosys | 19:28 | |
*** mlen has quit IRC | 19:29 | |
*** mlen has joined #yosys | 19:31 | |
*** cyrozap is now known as Guest1936 | 19:38 | |
*** Kitlith is now known as Guest50949 | 19:38 | |
*** shapr is now known as Guest63770 | 19:38 | |
*** Guest63770 is now known as shapr | 19:38 | |
*** josh- has quit IRC | 19:43 | |
*** kerel has quit IRC | 19:48 | |
*** cemerick_ has joined #yosys | 20:06 | |
*** cemerick has joined #yosys | 20:10 | |
*** mlen has quit IRC | 20:13 | |
*** cemerick_ has quit IRC | 20:13 | |
*** mlen has joined #yosys | 20:15 | |
*** kerel has joined #yosys | 20:17 | |
*** guan has quit IRC | 20:23 | |
*** guan has joined #yosys | 20:23 | |
*** dmin7 has left #yosys | 20:31 | |
*** AlexDaniel has quit IRC | 21:09 | |
*** AlexDaniel has joined #yosys | 21:09 | |
*** jwhitmore has quit IRC | 21:12 | |
*** azzizi has joined #yosys | 21:43 | |
*** cemerick has quit IRC | 21:53 | |
*** dxld has quit IRC | 22:01 | |
*** digshadow has joined #yosys | 22:03 | |
*** kehribar has quit IRC | 22:23 | |
*** seldridge0 has quit IRC | 23:01 | |
*** promach__ has joined #yosys | 23:11 | |
*** promach__ is now known as promach2 | 23:18 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!