meta: expose Amaranth API via __all__
This commit is contained in:
parent
0d15abe4d1
commit
3ba93efd2f
|
|
@ -1,8 +1,6 @@
|
|||
from amaranth import *
|
||||
from amaranth.lib import io
|
||||
from manta import *
|
||||
from manta.io_core import IOCore
|
||||
from manta.uart import UARTInterface
|
||||
from time import sleep
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
from amaranth import *
|
||||
from amaranth.lib import io
|
||||
from manta import *
|
||||
from manta.logic_analyzer import LogicAnalyzerCore, TriggerModes
|
||||
from manta.uart import UARTInterface
|
||||
from time import sleep
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
from amaranth import *
|
||||
from amaranth.lib import io
|
||||
from manta import *
|
||||
from manta.memory_core import MemoryCore
|
||||
from manta.uart import UARTInterface
|
||||
|
||||
|
||||
class UARTMemoryCoreExample(Elaboratable):
|
||||
|
|
|
|||
|
|
@ -1,5 +1,20 @@
|
|||
from manta.manta import Manta
|
||||
from manta.uart import UARTInterface
|
||||
from manta.ethernet import EthernetInterface
|
||||
from manta.logic_analyzer import LogicAnalyzerCore, TriggerModes
|
||||
from manta.io_core import IOCore
|
||||
from manta.memory_core import MemoryCore
|
||||
from manta.cli import main
|
||||
|
||||
__all__ = [
|
||||
"Manta",
|
||||
"UARTInterface",
|
||||
"EthernetInterface",
|
||||
"LogicAnalyzerCore",
|
||||
"TriggerModes",
|
||||
"IOCore",
|
||||
"MemoryCore",
|
||||
]
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from amaranth import *
|
||||
from amaranth import Elaboratable
|
||||
from amaranth.lib import data
|
||||
from amaranth.sim import Simulator
|
||||
from abc import ABC, abstractmethod
|
||||
|
|
|
|||
|
|
@ -1,10 +1,5 @@
|
|||
from manta import Manta
|
||||
from manta.io_core import IOCore
|
||||
from manta.memory_core import MemoryCore
|
||||
from manta.logic_analyzer import LogicAnalyzerCore
|
||||
from manta.uart import UARTInterface
|
||||
from manta.ethernet import EthernetInterface
|
||||
from amaranth import *
|
||||
from manta import *
|
||||
import tempfile
|
||||
import os
|
||||
import yaml
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
from manta import Manta
|
||||
from amaranth import *
|
||||
from amaranth.lib import io
|
||||
from amaranth_boards.nexys4ddr import Nexys4DDRPlatform
|
||||
from amaranth_boards.icestick import ICEStickPlatform
|
||||
from manta.io_core import IOCore
|
||||
from manta.uart import UARTInterface
|
||||
from manta import *
|
||||
from manta.utils import *
|
||||
import pytest
|
||||
from random import getrandbits
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
from amaranth import *
|
||||
from manta.io_core import IOCore
|
||||
from manta import *
|
||||
from manta.utils import *
|
||||
from random import getrandbits
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,7 @@ from amaranth import *
|
|||
from amaranth.lib import io
|
||||
from amaranth_boards.nexys4ddr import Nexys4DDRPlatform
|
||||
from amaranth_boards.icestick import ICEStickPlatform
|
||||
from manta import Manta
|
||||
from manta.logic_analyzer import LogicAnalyzerCore
|
||||
from manta.uart import UARTInterface
|
||||
from manta import *
|
||||
from manta.utils import *
|
||||
import pytest
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from amaranth.sim import Simulator
|
||||
from amaranth import *
|
||||
from manta.logic_analyzer import LogicAnalyzerCore
|
||||
from manta.logic_analyzer.trigger_block import Operations
|
||||
from manta.utils import *
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@ from amaranth import *
|
|||
from amaranth.lib import io
|
||||
from amaranth_boards.nexys4ddr import Nexys4DDRPlatform
|
||||
from amaranth_boards.icestick import ICEStickPlatform
|
||||
from manta import Manta
|
||||
from manta.memory_core import MemoryCore
|
||||
from manta.io_core import IOCore
|
||||
from manta.uart import UARTInterface
|
||||
from manta import *
|
||||
from manta.utils import *
|
||||
import pytest
|
||||
from random import getrandbits
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
from amaranth.sim import Simulator
|
||||
from manta.ethernet import UDPSourceBridge
|
||||
from manta.utils import *
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue