Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yosys-tests
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yosys-tests
Commits
39190375
Commit
39190375
authored
Sep 30, 2019
by
SergeyDegtyar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'regression' tests update. Not grepping strings where it is possible.
parent
074b684f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
97 additions
and
193 deletions
+97
-193
regression/run.sh
+46
-147
regression/scripts/issue_00502.ys
+1
-2
regression/scripts/issue_00524.ys
+1
-3
regression/scripts/issue_00527.ys
+1
-2
regression/scripts/issue_00639.ys
+1
-1
regression/scripts/issue_00675.ys
+1
-1
regression/scripts/issue_00685.ys
+1
-2
regression/scripts/issue_00835.ys
+2
-2
regression/scripts/issue_00857.ys
+3
-2
regression/scripts/issue_00865.ys
+2
-1
regression/scripts/issue_00867.ys
+1
-1
regression/scripts/issue_00873.ys
+7
-5
regression/scripts/issue_00888.ys
+2
-2
regression/scripts/issue_00922.ys
+1
-1
regression/scripts/issue_00931.ys
+2
-1
regression/scripts/issue_00935.ys
+1
-1
regression/scripts/issue_00938.ys
+1
-1
regression/scripts/issue_00940.ys
+1
-1
regression/scripts/issue_01016.ys
+1
-1
regression/scripts/issue_01033.ys
+2
-1
regression/scripts/issue_01034.ys
+2
-1
regression/scripts/issue_01047.ys
+2
-1
regression/scripts/issue_01070.ys
+2
-2
regression/scripts/issue_01091.ys
+3
-1
regression/scripts/issue_01128.ys
+1
-1
regression/scripts/issue_01132.ys
+1
-1
regression/scripts/issue_01135.ys
+2
-1
regression/scripts/issue_01145.ys
+1
-1
regression/scripts/issue_01193.ys
+1
-0
regression/scripts/issue_01220.ys
+1
-1
regression/scripts/issue_01223.ys
+1
-1
regression/scripts/issue_01231.ys
+1
-1
regression/scripts/issue_01273.ys
+1
-1
regression/scripts/issue_01329.ys
+0
-2
No files found.
regression/run.sh
View file @
39190375
This diff is collapsed.
Click to expand it.
regression/scripts/issue_00502.ys
View file @
39190375
read_verilog ../top.v
read_verilog ../top.v
select n:\\SUM/N10
select -assert-any n:\\SUM/N10
tee -o result.log select -list
regression/scripts/issue_00524.ys
View file @
39190375
read_verilog ../top.v
read_verilog ../top.v
synth_greenpak4 -part SLG46621V
synth_greenpak4 -part SLG46621V
select GP_INV
select -assert-count 1 t:GP_INV
tee -o result.log select -list
regression/scripts/issue_00527.ys
View file @
39190375
...
@@ -19,6 +19,5 @@ abc -liberty ../osu018_stdcells_edit.lib
...
@@ -19,6 +19,5 @@ abc -liberty ../osu018_stdcells_edit.lib
clean
clean
select DFFSR
select -assert-count 0 t:DFFSR
tee -o result.log select -list
regression/scripts/issue_00639.ys
View file @
39190375
...
@@ -20,5 +20,5 @@ design -copy-from netlist_v2 -as netlist_new netlist_v2
...
@@ -20,5 +20,5 @@ design -copy-from netlist_v2 -as netlist_new netlist_v2
equiv_make -inames netlist_old netlist_new miter_netlist
equiv_make -inames netlist_old netlist_new miter_netlist
equiv_simple -undef -seq 10
equiv_simple -undef -seq 10
equiv_induct -undef -seq 10
equiv_induct -undef -seq 10
tee -o result.log equiv_status
tee -o result.log equiv_status
-assert
regression/scripts/issue_00675.ys
View file @
39190375
...
@@ -4,4 +4,4 @@ read_verilog ../top.v;
...
@@ -4,4 +4,4 @@ read_verilog ../top.v;
rename -top gate; design -stash gate;
rename -top gate; design -stash gate;
design -copy-from gold -as gold gold;
design -copy-from gold -as gold gold;
design -copy-from gate -as gate gate;
design -copy-from gate -as gate gate;
tee -o result.log
equiv_make gold gate equiv
equiv_make gold gate equiv
regression/scripts/issue_00685.ys
View file @
39190375
tee -o result.log read_liberty ../lib.lib
read_liberty ../lib.lib
write_verilog synth.v
regression/scripts/issue_00835.ys
View file @
39190375
tee -o result.log
read_verilog ../top.v
read_verilog ../top.v
prep
prep
write_verilog synth.v
select -assert-count 4 t:$dff
regression/scripts/issue_00857.ys
View file @
39190375
read_verilog ../top.v
read_verilog ../top.v
tee -o result.log synth -top top
synth -top top
write_verilog synth.v
select -assert-count 1 t:$_DFF_P_
select -assert-none t:$_DFF_P_ %% t:* %D
regression/scripts/issue_00865.ys
View file @
39190375
...
@@ -6,4 +6,5 @@ fsm
...
@@ -6,4 +6,5 @@ fsm
opt
opt
memory
memory
opt
opt
tee -o result.log synth_xilinx -top tc
synth_xilinx -top tc
select -assert-count 12 t:FDRE
regression/scripts/issue_00867.ys
View file @
39190375
read_verilog ../top.v
read_verilog ../top.v
synth_xilinx -flatten
synth_xilinx -flatten
tee -o result.log stat
select -assert-count 1 t:RAMB36E1
regression/scripts/issue_00873.ys
View file @
39190375
tee -a result.log read_verilog ../top.v
read_verilog ../top.v
tee -a result.log synth_xilinx
synth_xilinx
tee -a result.log flatten
flatten
tee -a result.log dump top
stat
select -assert-count 1 t:BUFG
select -assert-count 1 t:FDRE
select -assert-count 1 t:FDRE_1
regression/scripts/issue_00888.ys
View file @
39190375
read_verilog ../top.v
read_verilog ../top.v
tee -a result.log
synth_xilinx
synth_xilinx
select -assert-count 4 t:FDRE
regression/scripts/issue_00922.ys
View file @
39190375
...
@@ -4,4 +4,4 @@ memory_dff -nordff
...
@@ -4,4 +4,4 @@ memory_dff -nordff
memory_collect
memory_collect
opt_reduce
opt_reduce
clean
clean
tee -a result.log
write_firrtl firrtl.firrtl
write_firrtl firrtl.firrtl
regression/scripts/issue_00931.ys
View file @
39190375
read_verilog ../top.v
read_verilog ../top.v
tee -a result.log prep
prep
select -assert-none t:$dlatch
regression/scripts/issue_00935.ys
View file @
39190375
read_verilog ../top.v
read_verilog ../top.v
prep -top picorv32 -nordff
prep -top picorv32 -nordff
opt -fast
opt -fast
tee -a result.log
write_smt2 picorv32.smt2
write_smt2 picorv32.smt2
regression/scripts/issue_00938.ys
View file @
39190375
...
@@ -3,4 +3,4 @@ proc
...
@@ -3,4 +3,4 @@ proc
memory_dff -nordff
memory_dff -nordff
opt_reduce
opt_reduce
clean
clean
tee -a result.log
write_firrtl firrtl.firrtl
write_firrtl firrtl.firrtl
regression/scripts/issue_00940.ys
View file @
39190375
read_verilog ../*.v
read_verilog ../*.v
tee -a result.log
synth_ice40 -top SuperTopEntity -json TopEntity.json
synth_ice40 -top SuperTopEntity -json TopEntity.json
regression/scripts/issue_01016.ys
View file @
39190375
read_verilog -sv ../top.v
read_verilog -sv ../top.v
proc
proc
wreduce -keepdc
wreduce -keepdc
tee -a result.log dump
select -assert-count 1 t:$mux
regression/scripts/issue_01033.ys
View file @
39190375
read_verilog ../top.v
read_verilog ../top.v
tee -a result.log synth_xilinx
synth_xilinx
select -assert-none t:RAM64X1D
regression/scripts/issue_01034.ys
View file @
39190375
read_verilog ../top.v
read_verilog ../top.v
tee -a result.log synth_xilinx -nodram
synth_xilinx -nodram
select -assert-none t:FDRE
regression/scripts/issue_01047.ys
View file @
39190375
read -formal ../top.v
read -formal ../top.v
hierarchy -top top
hierarchy -top top
synth
synth
write_verilog -noattr result.log
select -assert-count 1 t:$_NOR_
select -assert-none t:$_NOR_ %% t:* %D
regression/scripts/issue_01070.ys
View file @
39190375
...
@@ -4,5 +4,5 @@ dff2dffe
...
@@ -4,5 +4,5 @@ dff2dffe
simplemap
simplemap
opt
opt
opt_rmdff
opt_rmdff
s
tat
s
elect -assert-count 1 t:$_DFF_N_
tee -o result.log dump
select -assert-none t:$_DFF_N_ %% t:* %D
regression/scripts/issue_01091.ys
View file @
39190375
...
@@ -3,4 +3,6 @@ proc
...
@@ -3,4 +3,6 @@ proc
opt
opt
techmap
techmap
muxcover -nopartial
muxcover -nopartial
tee -o result.log stat
stat
select -assert-count 1 t:$_MUX4_
select -assert-none t:$_MUX4_ %% t:* %D
regression/scripts/issue_01128.ys
View file @
39190375
...
@@ -5,4 +5,4 @@ select -set buf w:w1 %coe1 w:w1 %d
...
@@ -5,4 +5,4 @@ select -set buf w:w1 %coe1 w:w1 %d
# set the keep attribute for the $_BUF_ from w1 to w2
# set the keep attribute for the $_BUF_ from w1 to w2
setattr -set keep 1 @buf
setattr -set keep 1 @buf
opt_clean
opt_clean
tee -o result.log stat
select -assert-count 1 t:$_BUF_
regression/scripts/issue_01132.ys
View file @
39190375
read_verilog ../top.v
read_verilog ../top.v
proc; opt; wreduce; simplemap; muxcover -mux4=150
proc; opt; wreduce; simplemap; muxcover -mux4=150
tee -o result.log stat
select -assert-count 1 t:$_MUX4_
regression/scripts/issue_01135.ys
View file @
39190375
read_verilog ../top.v
read_verilog ../top.v
proc; pmux2shiftx -norange; opt -full
proc; pmux2shiftx -norange; opt -full
tee -o result.log stat
select -assert-count 1 t:$pmux
select -assert-count 3 t:$eq
regression/scripts/issue_01145.ys
View file @
39190375
read_verilog -sv ../top.sv
read_verilog -sv ../top.sv
hierarchy -check -top TopModule
hierarchy -check -top TopModule
proc
proc
tee -o result.log
flatten
flatten
regression/scripts/issue_01193.ys
View file @
39190375
read_verilog -sv ../top.v
read_verilog -sv ../top.v
proc
proc
select -assert-count 0 t:$dlatch
select -assert-count 0 t:$dlatch
tee -o result.log dump
regression/scripts/issue_01220.ys
View file @
39190375
read_verilog ../top.v
read_verilog ../top.v
hierarchy -top top
hierarchy -top top
proc
proc
tee -o result.log
flatten
flatten
regression/scripts/issue_01223.ys
View file @
39190375
read_verilog ../top.v
read_verilog ../top.v
tee -o result.log
synth_xilinx
synth_xilinx
regression/scripts/issue_01231.ys
View file @
39190375
tee -o result.log
read -formal ../top.v
read -formal ../top.v
regression/scripts/issue_01273.ys
View file @
39190375
read_verilog ../top.v
read_verilog ../top.v
synth -top top
synth -top top
muxcover -mux8
muxcover -mux8
tee -o result.log stat
select -assert-count 9 t:$_MUX8_
regression/scripts/issue_01329.ys
View file @
39190375
...
@@ -10,5 +10,3 @@ cd dff # Constrain all select calls below inside the top module
...
@@ -10,5 +10,3 @@ cd dff # Constrain all select calls below inside the top module
select -assert-count 4 t:$adff
select -assert-count 4 t:$adff
select -assert-count 1 t:$mux
select -assert-count 1 t:$mux
select -assert-none t:$adff t:$mux %% t:* %D
select -assert-none t:$adff t:$mux %% t:* %D
tee -o result.log stat
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment