2020-01-12 10:03:17 +01:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
|
//
|
|
|
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
|
|
|
// without warranty, 2019 by Stefan Wallentowitz.
|
2020-03-21 16:24:24 +01:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
2020-01-12 10:03:17 +01:00
|
|
|
|
|
|
|
|
`verilator_config
|
|
|
|
|
|
|
|
|
|
sformat -task "mon_scope_name" -var "formatted"
|
|
|
|
|
public_flat_rd -module "sub" -var "in"
|
2025-09-16 23:38:53 +02:00
|
|
|
public_flat_rw -module "sub" -var "in_a"
|
2025-08-22 22:43:49 +02:00
|
|
|
public_flat_rw -module "sub" -var "in_b" @(posedge t.monclk)
|
2025-09-16 23:38:53 +02:00
|
|
|
public_flat_rw -module "sub" -var "fr_a"
|
2020-01-12 10:03:17 +01:00
|
|
|
public_flat_rw -module "sub" -var "fr_b" @(posedge t.monclk)
|
2025-10-11 20:15:04 +02:00
|
|
|
// Cover other edge declarations
|
|
|
|
|
public_flat_rw -module "sub" -var "fr_chk" @(posedge t.monclk or negedge t.monclk or edge t.monclk)
|