[libre-riscv-dev] UnusedElaboratable when running testbench

Tobias Platen hacks2019 at platen-software.de
Wed Jul 24 19:07:44 BST 2019


When I run the testbench for TLB.py I get several UnusedElaboratable 
warnings. So where do I use an Elaboratable. I tried to find 
documentation, but I found nothing.

Tobias

-------------- next part --------------
/usr/local/lib/python3.7/dist-packages/nmigen-81e5983-py3.7.egg/nmigen/hdl/mem.py:59: UnusedElaboratable: <nmigen.hdl.mem.ReadPort object at 0x7fffab78fef0> created but never used
  return ReadPort(self, domain, transparent)
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/usr/local/lib/python3.7/dist-packages/nmigen-81e5983-py3.7.egg/nmigen/hdl/mem.py:73: UnusedElaboratable: <nmigen.hdl.mem.WritePort object at 0x7fffab78ffd0> created but never used
  return WritePort(self, domain, priority, granularity)
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/TLB.py:35: UnusedElaboratable: <TLB.Cam.Cam object at 0x7fffabb6db70> created but never used
  self.cam_L1 = Cam(vma_size, L1_size)
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/Cam.py:40: UnusedElaboratable: <TLB.AddressEncoder.AddressEncoder object at 0x7fffab7f9828> created but never used
  self.encoder = AddressEncoder(cam_size)
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/AddressEncoder.py:23: UnusedElaboratable: <nmigen.lib.coding.Encoder object at 0x7fffabb745f8> created but never used
  self.encoder = Encoder(width)
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/AddressEncoder.py:24: UnusedElaboratable: <nmigen.lib.coding.PriorityEncoder object at 0x7fffab7d1240> created but never used
  self.p_encoder = PriorityEncoder(width)
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/Cam.py:41: UnusedElaboratable: <nmigen.lib.coding.Decoder object at 0x7fffab7d1860> created but never used
  self.decoder = Decoder(cam_size)
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/Cam.py:42: UnusedElaboratable: <TLB.CamEntry.CamEntry object at 0x7fffab78f160> created but never used
  self.entry_array = Array(CamEntry(data_size) for x in range(cam_size))
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/Cam.py:42: UnusedElaboratable: <TLB.CamEntry.CamEntry object at 0x7fffab78f048> created but never used
  self.entry_array = Array(CamEntry(data_size) for x in range(cam_size))
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/Cam.py:42: UnusedElaboratable: <TLB.CamEntry.CamEntry object at 0x7fffab7d1ef0> created but never used
  self.entry_array = Array(CamEntry(data_size) for x in range(cam_size))
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/Cam.py:42: UnusedElaboratable: <TLB.CamEntry.CamEntry object at 0x7fffab7d1dd8> created but never used
  self.entry_array = Array(CamEntry(data_size) for x in range(cam_size))
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/Cam.py:42: UnusedElaboratable: <TLB.CamEntry.CamEntry object at 0x7fffab7d1cc0> created but never used
  self.entry_array = Array(CamEntry(data_size) for x in range(cam_size))
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/Cam.py:42: UnusedElaboratable: <TLB.CamEntry.CamEntry object at 0x7fffab7d1ba8> created but never used
  self.entry_array = Array(CamEntry(data_size) for x in range(cam_size))
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/Cam.py:42: UnusedElaboratable: <TLB.CamEntry.CamEntry object at 0x7fffab7d1a20> created but never used
  self.entry_array = Array(CamEntry(data_size) for x in range(cam_size))
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/Cam.py:42: UnusedElaboratable: <TLB.CamEntry.CamEntry object at 0x7fffab7d1978> created but never used
  self.entry_array = Array(CamEntry(data_size) for x in range(cam_size))
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/TLB.py:46: UnusedElaboratable: <TLB.PermissionValidator.PermissionValidator object at 0x7fffab78f668> created but never used
  self.perm_validator = PermissionValidator(asid_size, pte_size)
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback
/home/isengaara/Hacking/LRV/soc/src/TLB/PermissionValidator.py:25: UnusedElaboratable: <TLB.PteEntry.PteEntry object at 0x7fffab78f6a0> created but never used
  self.pte_entry = PteEntry(asid_size, pte_size)
UnusedElaboratable: Enable tracemalloc to get the object allocation traceback


More information about the libre-riscv-dev mailing list