The creation of UV M is inseparable from the three core elements of factory: registration, creation and coverage
Among them, override instance program: override method set by type_ type_ Override to illustrate.
module factory_ove ...
Posted by john_6767 on Wed, 02 Mar 2022 08:33:38 +0100
1, Overview of classes
Handle (spatial pointer) Object (storage space)
Transaction t1, t2;//Declare handle t1, t2
t1 = new();//Instantiate the object and assign its handle to t1
t2 = t1;//Assign the value of t1 to t2, that is, t1 and t2 point to the same object
t1 = new();//Instantiate the second object and give its handle to t1
//At thi ...
Posted by Trizen on Fri, 18 Feb 2022 20:03:47 +0100
1, Built in data type
Four valued logic typeBinary logic typelogic integer reg net-typebyte int longint shortint bit
Signed typeUnsigned typebyte integer int longint shortintlogic bit reg net-type
Tips: (1) The default value returned by four value status is x, and the default value returned by two value status is 0. (2) logic type can onl ...
Posted by teamfox20 on Tue, 15 Feb 2022 12:32:26 +0100
Find a place to create a new folder, set the path of this project to that folder, and the project name can be taken by yourself (in order to avoid inconsistency later, it is recommended to take the same as me)
Create from empty project
No files need to be added
Select the development board, I choose this, and then nex ...
Posted by starphp on Mon, 31 Jan 2022 23:47:10 +0100
For more sharing, please visit my personal blog
This paper introduces how to develop FPGA under linux.
Due to the particularity of FPGA, only commercial ides can be competent for the whole development process. Therefore, there is no need to find open source alternative products. It is most appropriate to dir ...
Posted by Brian Swan on Sun, 30 Jan 2022 07:03:02 +0100
In fact, when writing design or verification, the code basically unloads tasks or functions. This chapter mainly introduces the improvement of SV like C language - processing parameter cases.
3.1 procedure statement
Loop variables are defined in the for loop, and the scope is limited to the inside of the loop to avoid some code vulnerabil ...
Posted by bitman on Sun, 23 Jan 2022 17:52:16 +0100
2.8 select storage array type
This paper introduces some criteria for selecting storage types based on flexibility, memory usage, speed and sorting requirements.
If the index of an array is a continuous nonnegative integer, a fixed width or dynamic array should be used.If the fixed width array has been selected when the ...
Posted by Marchingknight11 on Sun, 23 Jan 2022 11:30:21 +0100
User defined and enumerated data types
1. User defined type
The user-defined type keyword is typedef, for example
typedef int unsigned uint; //unit is a custom data type
unit a, b; //Declare two variables with a custom data type
Look at an example
typedef bit bit_t; //Customize a bit_ Tdata type
bit_t a = 0;
Posted by itsgood on Tue, 21 Dec 2021 08:02:28 +0100
Chapter III procedure statements and subroutines
1. Procedure statement
sv absorbs some features of C + +, including break and continue statements.
//for loop statements and do... while statements
initial begin:example //You can give this initial a number and name, which is called example here
Posted by jhenary on Mon, 20 Dec 2021 01:22:40 +0100