setup_nle.sim 2.09 KB
####################################
# setup environment
####################################
radix 16
options bidirConflict
options failTestOnZ
#trace (static, tabular)
options tabularReportOnChange
trace (dynamic, tabular)
#trace (dynamic)

####################################
# rambus pullup resistors
####################################
#transistor P vss rac_0.U1.U1.BusEnable vdd
#transistor P vss rac_0.U1.U1.BusCtrl vdd
#transistor P vss rac_0.U1.U1.BusData[8] vdd
#transistor P vss rac_0.U1.U1.BusData[7] vdd
#transistor P vss rac_0.U1.U1.BusData[6] vdd
#transistor P vss rac_0.U1.U1.BusData[5] vdd
#transistor P vss rac_0.U1.U1.BusData[4] vdd
#transistor P vss rac_0.U1.U1.BusData[3] vdd
#transistor P vss rac_0.U1.U1.BusData[2] vdd
#transistor P vss rac_0.U1.U1.BusData[1] vdd
#transistor P vss rac_0.U1.U1.BusData[0] vdd

####################################
# display current environment
####################################
#preprocess
simparms
options
trace
modeloptions

####################################
# bus and signal aliases
####################################
vector vbus_data_pad[6:0]
vector sys_ad_pad[31:0]
vector sys_cmd_pad[4:0]
vector ad16_data_pad[15:0]

equiv sys_ad_enable_l[0]   sys_ad_pad_oen
equiv sys_ad_enable_l[0]   sys_cmd_pad_oen
equiv tst_ad16_enable_l[0] ad16_data_pad_oen
equiv vclk_enable_l        vclk_pad_oen

equiv rac_0.U1.U1.BusClk    tx_clk
equiv rac_0.U1.U1.Vref      v_ref
equiv rac_0.U1.U1.CCtlPgm   c_ctl_pgm
equiv rac_0.U1.U1.BusClk    rx_clk
equiv rac_0.U1.U1.BusEnable bus_enable_rac

equiv rac_0.U1.U1.BusCtrl   bus_ctrl_rac_i
equiv rac_0.U1.U1.BusCtrl   bus_ctrl_rac_o

equiv rac_0.U1.U1.BusData[8] bus_data_rac_i[8]
equiv rac_0.U1.U1.BusData[7] bus_data_rac_i[7]
equiv rac_0.U1.U1.BusData[6] bus_data_rac_i[6]
equiv rac_0.U1.U1.BusData[5] bus_data_rac_i[5]
equiv rac_0.U1.U1.BusData[4] bus_data_rac_i[4]
equiv rac_0.U1.U1.BusData[3] bus_data_rac_i[3]
equiv rac_0.U1.U1.BusData[2] bus_data_rac_i[2]
equiv rac_0.U1.U1.BusData[1] bus_data_rac_i[1]
equiv rac_0.U1.U1.BusData[0] bus_data_rac_i[0]

vector rac_0.U1.U1.BusData[8:0]
vector bus_data_rac_o[8:0] rac_0.U1.U1.BusData[8:0]