Init Push
This commit is contained in:
51
examples/seq_random_demo_spec.json
Normal file
51
examples/seq_random_demo_spec.json
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"kind": "sequential",
|
||||
"clock": {
|
||||
"name": "clk",
|
||||
"period_ns": 10,
|
||||
"initial": 0
|
||||
},
|
||||
"reset": {
|
||||
"name": "rst",
|
||||
"active": 1,
|
||||
"cycles": 1
|
||||
},
|
||||
"inputs": [
|
||||
{
|
||||
"name": "din",
|
||||
"width": 2
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "q",
|
||||
"width": 2
|
||||
}
|
||||
],
|
||||
"max_cycles": 8,
|
||||
"auto_stimulus": {
|
||||
"enabled": true,
|
||||
"start_cycle": 0,
|
||||
"mode": "random",
|
||||
"seed": 20260419
|
||||
},
|
||||
"assertions": [
|
||||
{
|
||||
"name": "reset_cycle0",
|
||||
"cycle": 0,
|
||||
"expect": {
|
||||
"q": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "q_range_guard",
|
||||
"cycle": 1,
|
||||
"expect": {
|
||||
"q": {
|
||||
"op": "le",
|
||||
"value": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user