Category Archives: Uncategorized

linux repository

Some useful repositories for some linux version: Centos Repository: rpmforge: http://wiki.centos.org/AdditionalResources/Repositories/RPMForge epel: https://fedoraproject.org/wiki/EPEL?rd=Epel Fedora Repository: rpmfusion: http://rpmfusion.org/  

Posted in Uncategorized | Leave a comment

vmm example — atomic gen

`timescale 1ns/1ns //interface interface bus(input clk); logic [7:0] addr; logic [31:0] data; clocking cb @(posedge clk); default input #1ns output #1ns; output addr; output data; endclocking modport master (clocking cb); endinterface //transaction class bus_tran extends vmm_data; rand logic [7:0] addr; … Continue reading

Posted in Uncategorized | 4 Comments

一些免费的systemverilog的学习网站

http://testbench.in/ http://www.asic-world.com/ http://www.asicguru.com/

Posted in Uncategorized | Leave a comment

各大EDA公司的支持网站

SYNOPSYS : https://solvnet.synopsys.com   CADENCE: https://support.cadence.com   MENTOR: http://supportnet.mentor.com/   ATRENTA: http://www.atrenta.com/support.htm   SPRINGSOFT: http://www.springsoft.com/support  

Posted in Uncategorized | Leave a comment

在IUS中通过仿真命令参数传递变量

################################################################################ #make.csh ################################################################################ #!/bin/tcsh -f # # set NOVAS_INST_DIR = /disks/depot3/novas/verdi200907 setenv LD_LIBRARY_PATH ${NOVAS_INST_DIR}/share/PLI/nc_latest/LINUX/nc_shared:${LD_LIBRARY_PATH} if($1 =~ “”) then irun -sv test.sv else irun -sv +FSDB_EN=1 -access +rwc test.sv endif ################################################################################ #test.sv ################################################################################ module test(); reg clk; integer en; initial begin … Continue reading

Posted in Uncategorized | Leave a comment

使用IUS自带的shm保存仿真波形

在verilog文件中实现: module test(); reg clk initial begin clk = 0; forever #1 clk = ~clk; end initial begin $shm_open(“waves.shm”); $shm_probe(“AC”); #1000 $finish; end endmodule ################################################################### 在tcl脚本中实现: database -shm -default waves probe -shm top -depth all -all run exit

Posted in Uncategorized | Leave a comment

在IUS使用tcl进行交互

#################################################################### #make.csh #################################################################### #!/bin/tcsh -f # # set NOVAS_INST_DIR = /disks/depot3/novas/verdi200907 if($1 =~ “64”) then set PLATFORM = LINUX64 else set PLATFORM = LINUX endif setenv LD_LIBRARY_PATH ${NOVAS_INST_DIR}/share/PLI/nc_latest/${PLATFORM}/nc_shared:${LD_LIBRARY_PATH} if($1 =~ “64”) then irun -sv -64bit test.sv -input input.tcl else irun … Continue reading

Posted in Uncategorized | Leave a comment