自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 资源 (10)
  • 收藏
  • 关注

原创 perl对齐

对齐

2022-10-10 22:31:10 308

原创 看code用

2022-09-13 20:50:11 98

原创 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

原创 在verilog中嵌入perl脚本

在systemverilog文件中嵌入perl

2022-03-08 00:28:25 512

原创 sync_fifo

同步fifo

2022-02-24 01:00:28 227

原创 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

Solomon I. Khmelnik - Computer Arithmetic of Geometrical Figures-Lulu (2004).pdf

2022-01-21

pt icc文档

pt pp icc文档2018

2021-12-24

synthesis.zip

DC文档全,2018

2021-12-24

PrimeTime® User Guide Version P-2019.03-SP2, June 2019.pdf

PrimeTime® User Guide Version P-2019.03-SP2, June 2019.pdf

2021-11-02

Synthesis Tool Commands Version S-2021.06, June 2021.pdf

Synthesis Tool Commands Version S-2021.06, June 2021.pdf

2021-10-29

boost_1_77_0.tar.gz

C++ boost库

2021-09-22

boost_1_77_0.zip

c++ pseudo-standard library boost, version 1.77, an open source library that can be downloaded from https://www.boost.org/

2021-09-22

sbcl-1.4.16-x86-64-linux-binary.tar.bz2

sbcl-1.4.16-x86-64-linux-binary.tar.bz2 依赖glibc库

2021-09-08

sbcl-2.1.8-x86-64-linux-binary.tar.bz2

sbcl-2.1.8-x86-64-linux-binary.tar.bz2 steel bank common lisp binary

2021-09-08

sbcl-1.4.3-x86-linux-binary.tar.bz2

sbcl-1.4.3-x86-linux-binary.tar.bz2 Steel Bank common lisp

2021-09-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除