Packages and Pre-processors?

Hi all I am working on a UVM testbench with the following structure:

filelist:

proj_package.sv

tbtop.sv


proj_package.sv:

package abc;

`include "param.sv"

endpackage


param.sv:

`define ADD 400


tbtop.sv:

import abc::*;

`include "testlist.sv"


testlist.sv:

`include "sample_test.sv"


sample_test.sv:

write_reg(ADD, 5);


I had some questions:

  1. Does `include "param.sv" inside package abc make the ADD macro available to files that later do import abc::*?

  2. If I write import abc::* inside base_test, can derived tests use ADD?

  3. Is a `define ever considered a member of a SystemVerilog package, or are macros completely separate from package scope

reddit.com
u/Snoo51532 — 3 days ago

How do we even gain the ability to kill a god?

Hi,

I tried searching but couldn't get a clear answer. I mean yes, we released the destined death but does that takeaway the "godhood" of these beings? Yes, we get stronger as we go on our journey but we are still mere "tarnished" right?

Like, let's do say the weapons crafted by Hewg can kill a god? But how can we even wield them?

For instance, the mortal blade in Sekiro made a bit of sense. It kills whomsoever unsheathes it but we have dragon's resurrection power so we kinda nullify it but here I didn't understand it.

reddit.com
u/Snoo51532 — 7 days ago