Questions tagged [e]

e is a hardware verification language (HVL) which is tailored to implementing highly flexible and reusable verification testbenches.

e is a hardware verification language (HVL) which is tailored to implementing highly flexible and reusable verification test-benches.

http://en.wikipedia.org/wiki/E_(verification_language)

The e language uses an Aspect-Oriented Programming (AOP) approach, which is an extension of the object-oriented programming approach to specifically address the needs required in functional verification.

AOP is a key feature in that it allows for users to easily bolt on additional functionality to existing code in a non-invasive manner. This permits easy reuse and code maintenance which is a huge benefit in the hardware world, where designs are continually being tweaked to meet market demands throughout the project life-cycle.

AOP also addresses cross cutting concerns (features that cut across various sections of the code) easily by allowing users to extend either specific or all instances of a particular struct to add functionality. Users can extend several structs to add functionality related to a particular feature and bundle the extensions into a single file if desired, providing for more organized file partitioning.

114 questions
0
votes
2 answers

e and C languages writing to the same txt file

Is there is a way to write to txt file from an e (hardware language) code and then to write to the same file from a C code ?
user1941008
  • 373
  • 3
  • 6
  • 13
0
votes
1 answer

Specman string: How to split a string to a list of its chars?

I need to split a uint to a list of bits (list of chars, where every char is "0" or "1", is also Ok). The way I try to do it is to concatenate the uint into string first, using binary representation for numeric types - bin(), and then to split it…
Halona
  • 1,475
  • 1
  • 15
  • 26
0
votes
1 answer

Specman e : Conditional Constraint in config sequence

In the config sequence I would like to create a conditional constraint. I have two clock rates and only a set of combinations of the clock rates are legal in the design. I am having trouble coming up with the correct syntax to achieve this.The use…
0
votes
2 answers

Get letter corresponding to number in e (IEEE 1646)

I want to convert from integer values to string characters as follows: 0 to "a" 1 to "b" and so forth up to 26 to "z" Is there a way to do this in e without a big case statement? Note: e is strongly typed and it isn't possible to do any type of…
Tudor Timi
  • 7,453
  • 1
  • 24
  • 53
0
votes
2 answers

Specman e vr_ad: How to use read_reg_field?

in UVM e Reference document is written: You can call read_reg_field or write_reg_field for registers whose fields are defined as single_field_access (see “vr_ad_port_unit Syntax and Examples”). ... For example: write_reg_fields tx_mode_reg {.resv =…
Halona
  • 1,475
  • 1
  • 15
  • 26
0
votes
2 answers

How to retrieve a value from simulator in specman

I am trying to access a simulator configuration parameter run_mode this value is stored as a BRUN variable. I am using the following code to access the parameter in specman. simulator_command("sn $env(BRUN_RUN_MODE)") However what is returned (eg:…
0
votes
2 answers

best way to sum list items in e/Specman

I created a list of structs and I like to sum the value of a field in each struct that satisfied a specific condition. For example: struct packet { val:int; cond:bool; }; l:list of packet; When I write the following: keep…
-1
votes
0 answers

why is the day of week "E" in date format? (Origin of Date Format)

In general, I wonder why many programming languages use "E" as the date format for the day of the week. Y : Year M : Month D : Day H : Hour m : min s : sec but, E : day of week.. why...? I'm curious about the origin of the date format. Especially…
-6
votes
3 answers

Pre-compile textual replacement macro with arguments

I am trying to create some kind of a dut_error wrapper. Something that will take some arguments and construct them in a specific way to a dut_error. I can't use a method to replace the calls to dut_error because to my understanding after check that…
Tomerikoo
  • 18,379
  • 16
  • 47
  • 61
1 2 3 4 5 6 7
8