mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 09:55:20 +00:00
Makefiles now have `clean` target. Also fixed top level makefile calls to images directory. More yosys scripts instead of inline yosys commands in makefiles (which also means they can be included in the accompanying document when talking about the image generated). Fixed another couple image generators that were still outputting pdf directly. Fixed some hanging image references which hadn't been updated. Adjusted some text related to images, and included a couple more intermediate images on `memdemo`.
17 lines
529 B
Plaintext
17 lines
529 B
Plaintext
read_verilog memdemo.v
|
|
prep -top memdemo; memory; opt
|
|
|
|
cd memdemo
|
|
select -set outstage y %ci2:+$dff[Q,D] %ci*:-$mux[S]:-$dff
|
|
select -set selstage y %ci2:+$dff[Q,D] %ci*:-$dff @outstage %d
|
|
select -set scramble mem* %ci2 %ci*:-$dff mem* %d @selstage %d
|
|
submod -name scramble @scramble
|
|
submod -name outstage @outstage
|
|
submod -name selstage @selstage
|
|
|
|
cd ..
|
|
show -format dot -prefix submod_00 memdemo
|
|
show -format dot -prefix submod_01 scramble
|
|
show -format dot -prefix submod_02 outstage
|
|
show -format dot -prefix submod_03 selstage
|