Table 29-1: HPS Clock Output Interface Simulation Model
The Altera clock source BFM application programming interface (API) applies to all the BFMs listed in this table.
Your Verilog interfaces use the same API, passing in different instance names.
BFM Instance Name
Interface Name
h2f_user0_clock
h2f_user0_clock
h2f_user1_clock
h2f_user1_clock
h2f_user2_clock
h2f_user2_clock
h2f_tpiu_clock
h2f_tpiu_clock
Qsys does not generate BFMs for FPGA-to-HPS clock input interfaces.
Reset Interface
The HPS reset request and handshake interfaces are connected to Altera conduit BFMs for simulation.
Table 29-2: HPS Reset Input Interface Simulation Model
You can monitor the reset request interface state changes or set the interface by using the API listed.
API Function Names
BFM Instance Name
Interface Name
get_f2h_cold_rst_req_n()
f2h_cold_reset_
req
f2h_cold_reset_
req
get_f2h_dbg_rst_req_n()
f2h_debug_reset_
req
f2h_debug_
reset_req
get_f2h_warm_rst_req_n()
f2h_warm_reset_
req
f2h_warm_reset_
req
set_h2f_pending_rst_req_n()
get_f2h_pending_rst_ack_n()
h2f_warm_reset_
handshake
h2f_warm_reset_
handshake
Table 29-3: HPS Reset Output Interface Simulation Model
The Altera reset source BFM application programming interface applies to all the BFMs listed.
BFM Instance Name
Interface Name
h2f_reset
h2f_reset
h2f_cold_reset
h2f_cold_reset
h2f_debug_apb_reset
h2f_debug_apb_reset
Table 29-4: Configuration of Reset Source BFM for HPS Reset Output Interface
The HPS reset output interface is connected to a reset source BFM. Qsys configures the BFM as shown. The parameter
value of the instantiated BFM as configured for HPS simulation.
Meaning
BFM Value
Parameter
This parameter is off, specifying an active-low reset
signal from the BFM.
Off
Assert reset high
Altera Corporation
HPS Simulation Support
29-3
Reset Interface
cv_54030
2013.12.30