12 2024 档案

摘要:先定义两个运算属性,这两个运算一个是直接截掉高位,一个是做了饱和处理。 F0 = fimath('OverflowAction','Wrap','RoundingMethod','Floor'); F1 = fimath('OverflowAction','Saturate','RoundingMe 阅读全文
posted @ 2024-12-28 01:19 蕉太羊 阅读(389) 评论(1) 推荐(0)
摘要:integer fid; initial begin wait(rstn==1); fid = $fopen("D:/input.txt","r"); while (!$feof(fid)) begin @(posedge clk) begin $fscanf(fid, "%d", rx_sig_I 阅读全文
posted @ 2024-12-22 19:20 蕉太羊 阅读(18) 评论(1) 推荐(0)