move main python code to src directory
[soc.git] / src / TLB / src / ariane / test / test_plru.py
1 import sys
2 sys.path.append("../src")
3 sys.path.append("../../../TestUtil")
4
5 from plru import PLRU
6
7 from nmigen.compat.sim import run_simulation
8
9 def testbench(dut):
10 yield
11
12 if __name__ == "__main__":
13 dut = PLRU(4)
14 run_simulation(dut, testbench(dut), vcd_name="test_plru.vcd")
15 print("PLRU Unit Test Success")