## 3B2 simulators
##
## Update this file as the local simulator sources and build metadata
## change. Keep shared target-construction logic in the common CMake helpers.
##
## Not yet: if this directory later gets a local unit-test subtree, declare
## it explicitly here with add_subdirectory(unit-tests).

add_simulator(3b2-400
    SOURCES
        3b2_cpu.c
        3b2_sys.c
        3b2_rev2_sys.c
        3b2_rev2_mmu.c
        3b2_mau.c
        3b2_rev2_csr.c
        3b2_timer.c
        3b2_stddev.c
        3b2_mem.c
        3b2_iu.c
        3b2_if.c
        3b2_id.c
        3b2_dmac.c
        3b2_io.c
        3b2_ports.c
        3b2_ctc.c
        3b2_scsi.c
        3b2_ni.c
    INCLUDES
        ${CMAKE_CURRENT_SOURCE_DIR}
    DEFINES
        REV2
    FEATURE_FULL64
    BUILDROMS
    USES_AIO
    LABEL 3B2
    PKG_FAMILY att3b2_family
    TEST 3b2-400)

add_simulator(3b2-700
    SOURCES
        3b2_cpu.c
        3b2_sys.c
        3b2_rev3_sys.c
        3b2_rev3_mmu.c
        3b2_mau.c
        3b2_rev3_csr.c
        3b2_timer.c
        3b2_stddev.c
        3b2_mem.c
        3b2_iu.c
        3b2_if.c
        3b2_dmac.c
        3b2_io.c
        3b2_ports.c
        3b2_scsi.c
        3b2_ni.c
    INCLUDES
        ${CMAKE_CURRENT_SOURCE_DIR}
    DEFINES
        REV3
    FEATURE_FULL64
    BUILDROMS
    USES_AIO
    LABEL 3B2
    PKG_FAMILY att3b2_family
    TEST 3b2-700)
