Jun 26, 2024
ID, Address, Length, Valid and ReadyAW prefixClock and Reset signalsinterface keyword
xr_write_addr_interfaceClock, Reset, ID, Address, Length, Valid, ReadyClock, Reset signalsinterface and endinterfaceMaster and SlaveReady signal using a urandom functionSlaveinterface.ready to random valuesClock, Reset, number of transactions)$display functionEDA Playground for coding and simulationaxi_txn
id, length, and addressrand or randc for randomizable fieldslength >= 1copy: Deep copy for transaction objectsconvert_to_string: Creates a formatted string with transaction infotestbench.sv fileinitial blockdrive_transactions use the transaction object's valuesput function in Generatorget function in Driverrun task to generate transactions and place them in the mailboxrun task to retrieve transactions from mailbox and drive DUTfork...join to run generator and driver in parallel$finishHappy Learning! 🧑🎓