Jump to content

How to lock the sequencer from the driver

Recommended Posts

I am trying to create a driver with two stage pipeline using the example given on uvm_transaction entry of uvm on-line reference as shown below.


task do_item();
forever begin
mbus_item req;
seq_item_port.get(req); // Completes the sequencer-driver handshake
// request bus, wait for grant, etc.
// execute address phase
// allows next transaction to begin address phase
// execute data phase
// (may trigger custom "data_phase" event here)
endtask: do_item


when I compiled my version using irun, it complained about


ncvlog: *E,ILLHIN (driver.sv,233|13): illegal location for a hierarchical name (in a package).


Could anyone please tell me what is the right way to lock the sequencer in the driver.



Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...