- 博客(15)
- 资源 (10)
- 收藏
- 关注
原创 google-c-style.el
https://github.com/google/styleguidegoogle-c-style.el;;; google-c-style.el --- Google's C/C++ style for c-mode;; Keywords: c, tools;; google-c-style.el is Copyright (C) 2008 Google Inc. All Rights Reserved.;;;; It is free software; you can redistri
2022-04-04 18:54:45 162
原创 tidy sv code port declarations
#!/bin/perluse strict;use Data::Dumper;use Tie::File;use Getopt::Long;my $opt_infile;my $opt_nochk;GetOptions( "i=s" => \$opt_infile, "nochk:s" => \$opt_nochk,) or die "Error in command line arguments\n";my $tidy_regex = qr/
2022-03-10 23:09:15 129
原创 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 253
原创 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 422
原创 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 592
原创 SystemVerilog Assignment patterns
SystemVerilog Assignment patternsassignment pattern 和 assignment pattern expression不一样, 区别见文法.一个递归的定义:当member type (是simple bit vector type) 或 (不是array type或structure type)时 => evaluate如果member是unmatched array或unmatched structure, 递归地应用
2021-12-20 01:46:33 1007 2
原创 SV可综合数组的写法
以下电路综合的结果:由waddr生成00, 01, 10三个地址, 加上wen, 连接到3个寄存器的enable端.由raddr生成X1, 1X, 00三个地址, 选择输出
2021-12-12 17:12:52 548
原创 golang从关闭的channel中读取
golang从关闭的channel中仍能先读取剩余的数据,数据读完之后还是有东西可以读,也不报错,挺坑。向关闭的channel写入数据会引发panic
2021-08-23 20:29:03 599 1
原创 JavaCC 7.0.4配置
JavaCC 7.0.4配置工具安装步骤工具Apache AntJavaCC安装步骤cd到javacc解压后的文件夹,直接运行ant或者ant jar(一样的)。产生的target文件夹含下有.jar文件目前下载的7.0.4版本解压后没有scripts文件夹,可以拷贝7.0.10文件夹下的scripts文件过来用。里面用java -classpath调用了javacc.jar中的类...
2021-03-09 01:01:41 123
原创 虚函数表
虚函数表#include <iostream>#include <string>using namespace std;class Base { virtual void f(){ cout << "address of Base::f\t" << endl; } virtual void g(){ cout << "address of Base::g\t" << endl; }
2021-01-12 00:13:35 72
原创 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
Solomon I. Khmelnik - Computer Arithmetic of Geometrical Figures-Lulu (2004).pdf
2022-01-21
PrimeTime® User Guide Version P-2019.03-SP2, June 2019.pdf
2021-11-02
Synthesis Tool Commands Version S-2021.06, June 2021.pdf
2021-10-29
boost_1_77_0.zip
2021-09-22
sbcl-2.1.8-x86-64-linux-binary.tar.bz2
2021-09-08
sbcl-1.4.3-x86-linux-binary.tar.bz2
2021-09-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人