Library - Unit tests

class spydrnet_physical.ir.tests.test_library.TestLibrary(methodName='runTest')[source]

Bases: unittest.case.TestCase

Methods:

setUp()

Hook method for setting up the test fixture before exercising it.

test_create_top_wrapper()

Creates a simple top level verilog wrapper with default arguments

test_create_top_wrapper__names()

Creates wrapper for top module with new name and insta name

test_create_top_wrapper__pin_map()

Creates wrapper for top module with new name and insta name

setUp() None[source]

Hook method for setting up the test fixture before exercising it.

test_create_top_wrapper()[source]

Creates a simple top level verilog wrapper with default arguments

  • Validated the default name

  • Validates the name, inst_name, port_map

test_create_top_wrapper__names()[source]

Creates wrapper for top module with new name and insta name

  • Validates the name, inst_name

test_create_top_wrapper__pin_map()[source]

Creates wrapper for top module with new name and insta name

  • Validates the name, inst_name