Files
OpenSTA/verilog/test/verilog_remove_md_basic.vok
T
Jaehyun KimandClaude Opus 4.6 b6d598a119 test: strengthen assertions, add sorted SDC diff, and clean up tests
- Add diff_files_sorted to test/helpers.tcl for hash-order-independent
  SDC comparison (fixes non-deterministic write_sdc output ordering)
- Use diff_files_sorted in sdc_derate_disable_deep and
  sdc_port_delay_advanced tests
- Remove stale coverage percentages from test comments (Comment 1)
- Remove unnecessary catch blocks in search property tests (Comment 3)
- Strengthen load-only tests with actual data verification (Comment 8)
- Remove orphan .ok files for deleted monolithic tests (Comment 9)
- Add golden .sdcok/.libok/.vok/.sdfok files for SDC/liberty/verilog
  write-and-diff tests
- Add -B (clean rebuild) option to make_coverage_report.sh
- Replace (void) casts and EXPECT_TRUE(true) with real assertions in
  TestSdc.cc and TestVerilog.cc

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: Jaehyun Kim <[email protected]>
2026-02-23 11:50:23 +09:00

58 lines
810 B
Plaintext

module dcalc_multidriver_test (clk,
in1,
in2,
in3,
in4,
sel,
out1,
out2,
out3);
input clk;
input in1;
input in2;
input in3;
input in4;
input sel;
output out1;
output out2;
output out3;
wire n1;
wire n2;
wire n3;
wire n4;
wire n5;
wire n6;
wire n7;
wire n8;
AND2_X1 and1 (.A1(n4),
.A2(in3),
.ZN(n5));
BUF_X1 buf1 (.A(in1),
.Z(n1));
BUF_X2 buf2 (.A(n2),
.Z(n3));
BUF_X4 buf3 (.A(in2),
.Z(n4));
BUF_X1 buf_out (.A(n6),
.Z(out3));
INV_X1 inv1 (.A(n1),
.ZN(n2));
NAND2_X1 nand1 (.A1(n6),
.A2(sel),
.ZN(n7));
NOR2_X1 nor1 (.A1(n6),
.A2(in4),
.ZN(n8));
OR2_X1 or1 (.A1(n3),
.A2(n5),
.ZN(n6));
DFF_X1 reg1 (.D(n7),
.CK(clk),
.Q(out1));
DFF_X1 reg2 (.D(n8),
.CK(clk),
.Q(out2));
endmodule