Solved
Forum Discussion
sstrell
Super Contributor
3 years agoWhat is a struct signal? Do you mean like a structure in C code?
- amildm3 years ago
Contributor
yes, I used this struct:
typedef struct packed { logic clk; logic rst; logic de; logic hsync; logic vsync; } hdmi_if_s;here are the declared signals:
hdmi_if_s hdmi_rx_if; hdmi_if_s hdmi_tx0_if; hdmi_if_s hdmi_tx1_if;here are the signal assignments:
assign hdmi_rx_if.rst = reset; assign hdmi_rx_if.clk = hdmi_rx_vid_clk; assign hdmi_rx_if.de = hdmi_rx_de; assign hdmi_rx_if.hsync = hdmi_rx_hsync; assign hdmi_rx_if.vsync = hdmi_rx_vsync; assign hdmi_tx0_if.rst = reset; assign hdmi_tx0_if.clk = hdmi_tx0_vid_clk; assign hdmi_tx0_if.de = hdmi_tx0_de; assign hdmi_tx0_if.hsync = hdmi_tx0_hsync; assign hdmi_tx0_if.vsync = hdmi_tx0_vsync; assign hdmi_tx1_if.rst = reset; assign hdmi_tx1_if.clk = hdmi_tx_vid_clk; assign hdmi_tx1_if.de = hdmi_tx_de; assign hdmi_tx1_if.hsync = hdmi_tx_hsync; assign hdmi_tx1_if.vsync = hdmi_tx_vsync;In SignalTap, I searched for the signals with the "SignalTap: pre-synthesis" option, but they did not appear there ...