笔记
殷泽润
这个作者很懒,什么都没留下…
展开
-
round roubin sv
//// Round robin arbiter// Units that want to access a shared resource assert their bit in the 'request'// bitmap. The arbiter picks a unit and sets the appropriate bit in the one hot// signal grant_oh. This does not register grant_oh, which is valid t原创 2022-01-21 02:26:07 · 255 阅读 · 0 评论 -
CAM 的SV实现
// If an update is performed to the same address as a lookup in the same clock cycle ?module cam #( parameter NUM_ENTRIES = 2, parameter KEY_WIDTH = 32, parameter INDEX_WIDTH = $clog2(NUM_ENTRIES)) ( input c..原创 2022-01-21 02:03:09 · 428 阅读 · 0 评论 -
systemverilog onehot -> index
module oh_to_idx #(parameter NUM_SIGNALS = 4, parameter DIRECTION = "LSB0", parameter INDEX_WIDTH = $clog2(NUM_SIGNALS)) (input[NUM_SIGNALS - 1:0] one_hot, output logic[INDEX_WIDTH - 1:0] index); always_comb begin :原创 2021-12-21 01:00:31 · 598 阅读 · 0 评论 -
golang从关闭的channel中读取
golang从关闭的channel中仍能先读取剩余的数据,数据读完之后还是有东西可以读,也不报错,挺坑。向关闭的channel写入数据会引发panic原创 2021-08-23 20:29:03 · 604 阅读 · 1 评论 -
2020-10-25
文章目录1. 办公软件阅读器2. 数学3. FPGA4. 写代码EditorPythonTools一些平常用的软件1. 办公软件Office阅读器calibre⟶\longrightarrow⟶epubwindjview⟶\longrightarrow⟶djvuAdobe Acrobat⟶\longrightarrow⟶pdf2. 数学MATLABMapleMathematica3. FPGAQuartus IIVivado4. 写代码EditorS原创 2020-10-25 02:10:31 · 66 阅读 · 0 评论