Advertisement
Guest User

interface_toplevel.sv

a guest
Apr 5th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // This file is weird, code wouldn't compile unless we passed signals through here first...
  2. // This is basically an intermediate layer between testbench and the avalon_aes_interface.
  3. // Why do we need it? Idk, probably some hierarchial issue, but all im doing here is passing signals
  4. // from the testbench into here, which go straight to the avalon_aes_interface without being changed lmao.
  5.  
  6. module interface_toplevel  (
  7.     // Avalon Clock Input
  8.     input logic CLK,
  9.    
  10.     // Avalon Reset Input
  11.     input logic RESET,
  12.    
  13.     // Avalon-MM Slave Signals
  14.     input  logic AVL_READ,                  // Avalon-MM Read
  15.     input  logic AVL_WRITE,                 // Avalon-MM Write
  16.     input  logic AVL_CS,                        // Avalon-MM Chip Select
  17.     input  logic [3:0] AVL_BYTE_EN,     // Avalon-MM Byte Enable
  18.     input  logic [3:0] AVL_ADDR,            // Avalon-MM Address
  19.     input  logic [31:0] AVL_WRITEDATA,  // Avalon-MM Write Data
  20.     output logic [31:0] AVL_READDATA,   // Avalon-MM Read Data
  21.    
  22.     // Exported Conduit
  23.     output logic [31:0] EXPORT_DATA     // Exported Conduit Signal to LEDs
  24.                                     );
  25.     avalon_aes_interface interfascist(.*);
  26. endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement