. else if(wb_stb_i && wb_cyc_i && !wb_we_i) 76. begin 77. nextstat=read; 78. end 79. else 80. nextstat=idle; 81. end 82. 83. write: 84. begin 85. if(wb_adr_i=={mycore_adr,24'h000000}) 86. begin 87. Cal_A=wb_dat_i; 88. A_Status=1'b1; 89. //wb_ack_o=1'b1; 90. end 91. else if(wb_adr_i=={mycore_adr,24'h000004}) 92. begin 93. Cal_B=wb_dat_i; 94. B_Status=1'b1; 95. //wb_ack_o=1'b1; 96. end 97. else 98. begin 99. //wb_ack_o=1'b0; 100. end 101. 102上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >>
|