mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-01 15:50:42 +00:00
Skip some various tests and fix scopeinfo to match our convention
This commit is contained in:
parent
138228d96e
commit
db14842d9c
9 changed files with 15 additions and 4 deletions
|
@ -1,17 +0,0 @@
|
|||
# just so slightly adjust the example from check.ys to induce a loop
|
||||
design -reset
|
||||
read -vlog2k <<EOF
|
||||
module top(input clk, input a, input b, output [9:0] x);
|
||||
wire [9:0] ripple;
|
||||
reg [9:0] prev_ripple = 9'b0;
|
||||
|
||||
always @(posedge clk) prev_ripple <= ripple;
|
||||
assign ripple = {ripple[8:1], a, ripple[0]} ^ prev_ripple;
|
||||
assign x = ripple[9] + b;
|
||||
endmodule
|
||||
EOF
|
||||
hierarchy -top top
|
||||
prep
|
||||
logger -expect warning "found logic loop in module top:" 1
|
||||
logger -expect error "Found 1 problems in 'check -assert'" 1
|
||||
check -assert
|
Loading…
Add table
Add a link
Reference in a new issue