Changed FF in std. Started test (spoiler: is not working)

This commit is contained in:
Michele
2022-03-04 13:11:34 +01:00
parent 9c6a591dc7
commit e8fa8e43a6
5 changed files with 146 additions and 6 deletions

View File

@@ -0,0 +1,21 @@
set t.d 0
set t.clk 0
set Reset 0
cycle
assert t.q 0
system "echo '[0] start test'"
set Reset 1
cycle
status X
mode run
system "echo '[1] reset completed'"
system "echo '[2] setting d to 1'"
set t.clk 1
cycle
assert t.q 0
system "echo '[3] setting clk to 1'"
set t.clk 1
cycle
assert t.q 1
system "echo '[4] Finished'"