aboutsummaryrefslogtreecommitdiffstats
path: root/manual/PRESENTATION_ExAdv/select_01.ys
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-02-06 14:01:43 +0100
committerClifford Wolf <clifford@clifford.at>2014-02-06 14:01:43 +0100
commit821156b6cf27efd8a9b417433211b33c177917de (patch)
tree943149d47d8fae23c087f413dcf7cc2db7d77a5f /manual/PRESENTATION_ExAdv/select_01.ys
parentc13c5b9b7b0925c602661bfcde8b45a538412f4b (diff)
downloadyosys-821156b6cf27efd8a9b417433211b33c177917de.tar.gz
yosys-821156b6cf27efd8a9b417433211b33c177917de.tar.bz2
yosys-821156b6cf27efd8a9b417433211b33c177917de.zip
presentation progress
Diffstat (limited to 'manual/PRESENTATION_ExAdv/select_01.ys')
-rw-r--r--manual/PRESENTATION_ExAdv/select_01.ys10
1 files changed, 10 insertions, 0 deletions
diff --git a/manual/PRESENTATION_ExAdv/select_01.ys b/manual/PRESENTATION_ExAdv/select_01.ys
new file mode 100644
index 000000000..a7fe27288
--- /dev/null
+++ b/manual/PRESENTATION_ExAdv/select_01.ys
@@ -0,0 +1,10 @@
+read_verilog select_01.v
+hierarchy -check -top test
+proc; opt
+cd test
+select -set cone_a state_a %ci*:-$dff
+select -set cone_b state_b %ci*:-$dff
+select -set cone_ab @cone_a @cone_b %i
+show -prefix select_01 -format pdf -notitle \
+ -color red @cone_ab -color magenta @cone_a \
+ -color blue @cone_b