AXI-Verification architecture, functional coverage and assertions based coverage code
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 8 mēnešiem
12345678910111213141516171819
  1. package my_pkg;
  2. //axi_if vif();
  3. typedef enum bit [1:0] {awidle = 2'b00, awstart = 2'b01, awreadys = 2'b10} awstate_type;
  4. awstate_type awstate, awnext_state;
  5. typedef enum bit [2:0] {widle = 0, wstart = 1, wreadys = 2, wvalids = 3, waddr_dec = 4} wstate_type;
  6. wstate_type wstate, wnext_state;
  7. typedef enum bit [2:0] {ridle = 0, rstart = 1, rwait = 2, rvalids = 3, rerror = 4} rstate_type;
  8. rstate_type rstate, rnext_state;
  9. typedef enum bit [1:0] {aridle = 0, arstart = 1, arreadys = 2} arstate_type;
  10. arstate_type arstate, arnext_state;
  11. typedef enum bit [1:0] {bidle = 0, bdetect_last = 1, bstart = 2, bwait = 3} bstate_type;
  12. bstate_type bstate,bnext_state;
  13. endpackage