I have defined class fu_data_t which is used in in another classes crevokeModule and after use crevokeModule in another class AluDataModule…..
and after use AluDataModule in another class….
enter image description here
enter image description here
enter image description here
enter image description here
whith this structure I get below error.
is it possible to help me how to fix this error?
class crevokeModule extends Module {
val io = IO(new Bundle() {
val src = Input(UInt(XLEN.W))
val crevoke = Output(UInt(XLEN.W))
val fu_data_cur = Input(new fu_data_t)
val rd_result_o = Output(new cap_result_t )
})
// val fu_data_cur = Wire(new fu_data_t)
// val rd_result_o = Wire(new cap_result_t )
// val fu_data_cur = Module(new fu_data_t)
// val rd_result_o = Module(new cap_result_t )
// val fu_data_cur = IO(Input(new fu_data_t))
// val rd_result_o = IO(Output(new cap_result_t ))
val rs1_cc=new cap_cc_t
val rs1_c =new cap_fat_t
val cap_uncompress_cap=new cap_uncompress
val cap_compress_cap =new cap_compress
rs1_cc.revnode_id := io.fu_data_cur.cap_a(0,30)//31
enter image description here
New contributor
mansoureh labaf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.