Verilog For Modeling - Module 9b
Verilog For Modeling - Module 9b
Module 9
WARNING: at 225 ns: Timing violation in /d_model_tf/uut/ $period( clk:175 ns, :225 ns, 60 ns)
WARNING: at 275 ns: Timing violation in /d_model_tf/uut/ $period( clk:225 ns, :275 ns, 60 ns)
WARNING: at 325 ns: Timing violation in /d_model_tf/uut/ $setup( d:321 ns, clk:325 ns,10 ns)
WARNING: at 325 ns: Timing violation in /d_model_tf/uut/ $period( clk:275 ns, :325 ns, 60 ns)
open
UUT
Adding the SRAM model
• New testbench
SRAM
UUT
Model
Very Simple SRAM Model
• // `define OEb
• `define tAC_10
• `timescale 1ns/10ps
• parameter Tsa = 2;
• `ifdef tAC_10
• parameter Taa = 10,
• Thzce = 3,
• Thzwe = 5;
• `endif
• `ifdef tAC_12
• parameter Taa = 12,
• Thzce = 5,
• Thzwe = 6;
• `endif