core-v-mcu icon indicating copy to clipboard operation
core-v-mcu copied to clipboard

Variables driven by output ports can not be driven by assign statement.

Open pawelkudlakaldec opened this issue 3 years ago • 1 comments

Following file: https://github.com/openhwgroup/core-v-mcu/blob/master/rtl/core-v-mcu/top/core_v_mcu.sv contains illegal assign statements (lines 485, 486):

assign s_test_mode = '0; assign s_dft_cg_enable = '0;

because variables s_test_mode and s_dft_cg_enable are also driven by output ports of the following module instances: safe_domain #( .FLL_DATA_WIDTH(32), .FLL_ADDR_WIDTH(2) ) i_safe_domain ( //... .test_mode_o (s_test_mode), .dft_cg_enable_o(s_dft_cg_enable),

pawelkudlakaldec avatar Nov 23 '21 08:11 pawelkudlakaldec

Thanks for this issue @pawelkudlakaldec, we will investigate.

MikeOpenHWGroup avatar Nov 23 '21 12:11 MikeOpenHWGroup