AXI-Verification architecture, functional coverage and assertions based coverage code
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

il y a 6 mois
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