add RADIX skeleton and unit test
[soc.git] / src / soc / decoder / isa / test_caller_radix.py
1 from nmigen import Module, Signal
2 #from nmigen.back.pysim import Simulator, Delay, Settle
3 from nmutil.formaltest import FHDLTestCase
4 #import unittest
5 from soc.decoder.isa.caller import ISACaller
6 from soc.decoder.power_decoder import (create_pdecode)
7 from soc.decoder.power_decoder2 import (PowerDecode2)
8 from soc.simulator.program import Program
9 from soc.decoder.isa.caller import ISACaller, inject, RADIX
10 from soc.decoder.selectable_int import SelectableInt
11 from soc.decoder.orderedset import OrderedSet
12 from soc.decoder.isa.all import ISA
13
14 if __name__ == "__main__":
15 radix = RADIX(None,None) #first test to avoid syntax errors
16 radix._walk_tree()
17 print("DONE")