Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update with new testcase argparser template

...

This table file contains all available tests in the training environment. Each test gets the following information:

  • Category, Test and Option Argument names.

  • Compliant variants.

  • Description and Results.

  • Nxmap function and Nx components.

...

Then each test directory gets the following files and directories:

  • nxmap_script_[variant].py: script to launch by nxpython nxmap_script_[variant].py [option].py <options>

  • project_variables.py: all variables used for the test are defined.

  • src: all needed RTL sources.

  • sub_scripts: all needed python files to create the project.

    • padsproject_[variant]ios.py: defined banks voltages and pads configurations.

    • project_files.py: defined RTL files.

    • project_parameters.py: defined top generic parameters and options.

    • scriptproject_options.py: main scriptdefined Nxmap options.variant

    • project_customconstraints.py: board defined constraints for synthesis or P&R.

    • project_class.py: chip class.

    • script.py: main script.

  • [top_cell]_[variant](_[optionoptions]): created project once launched.

    • LogsLogsPython: all logs and reports.

    • Rtl: all projects savings progress by progress.

    • Bitstream*.nxb: Generated bitstreamnym: nxmap project files.

    • *.nym: Auto generated project savings.vhd: netlists.

    • Bitstream.nxb: bitstream binary file.

Results

This directory is divided in nxmap directory containing result files from nxpython command and simu directory containing result files from vsim command. A result file contains all printed messages.

...

Parameter

Available values

Default value

Description

OPTIONARGUMENT

‘’

Option Argument launched with nxpython script

VARIANT

NG-MEDIUM

NG-LARGE

NG-ULTRA

NG-MEDIUM-EMBEDDED

NG-LARGE-EMBEDDED

NG-ULTRA-EMBEDDED

NG-MEDIUM

Used variant

PROGRESS

native

synthesized_1

synthesized_2

placed_1

placed_2

placed_3

placed_4

placed_5

routed_1

routed_2

routed_3

routed_3

Progress of bitstreaming flow

SEVERITY

WARNING

ERROR

ERROR

Severity in reporting

...

Command

test_list

Description

Get list of tests by category, name and optionargument

Parameters

Example

Code Block
make test_list

...

Command

launch_test

Description

Launch a test through nxpython

Parameters

CATEGORY NAME (OPTIONARGUMENT) (VARIANT)

Example

Code Block
make launch_test CATEGORY=ClockConstraint NAME=GeneratedClock OPTIONARGUMENT=ClockConstraint VARIANT=LARGE

...

Command

open_test

Description

Open a test through nxmap3

Parameters

CATEGORY NAME (OPTIONARGUMENT) (VARIANT) (PROGRESS)

Example

Code Block
make open_test CATEGORY=ClockConstraint NAME=GeneratedClock OPTIONARGUMENT=ClockConstraint VARIANT=LARGE PROGRESS=placed

...

Command

open_log

Description

Open all .log files in project log directory

Parameters

CATEGORY NAME (OPTIONARGUMENT) (VARIANT)

Example

Code Block
make open_log CATEGORY=ClockConstraint NAME=GeneratedClock OPTIONARGUMENT=ClockConstraint VARIANT=LARGE

...

Command

open_rpt

Description

Open all .rpt files in project log directory

Parameters

CATEGORY NAME (OPTIONARGUMENT) (VARIANT)

Example

Code Block
make open_rpt CATEGORY=ClockConstraint NAME=GeneratedClock OPTIONARGUMENT=ClockConstraint VARIANT=LARGE

...

Command

open_timing

Description

Open all .timing files in project log directory

Parameters

CATEGORY NAME (OPTIONARGUMENT) (VARIANT)

Example

Code Block
make open_timing CATEGORY=ClockConstraint NAME=GeneratedClock OPTIONARGUMENT=ClockConstraint VARIANT=LARGE

...

Command

run_simu

Description

Run a simu through ModelSim

Parameters

CATEGORY NAME (OPTIONARGUMENT) (VARIANT)

Example

Code Block
make run_simu CATEGORY=ClockConstraint NAME=GeneratedClock OPTIONARGUMENT=ClockConstraint VARIANT=LARGE

...

Command

open_simu

Description

Open a simu through ModelSim

Parameters

CATEGORY NAME (OPTIONARGUMENT) (VARIANT) (PROGRESS)

Example

Code Block
make open_simu CATEGORY=ClockConstraint NAME=GeneratedClock OPTIONARGUMENT=ClockConstraint VARIANT=LARGE PROGRESS=placed

...

Command

open_result

Description

Open result file

Parameters

CATEGORY NAME (OPTIONARGUMENT) (VARIANT)

Example

Code Block
make open_result CATEGORY=ClockConstraint NAME=GeneratedClock OPTIONARGUMENT=ClockConstraint VARIANT=LARGE

...

Command

report_result

Description

Generate report file from the result file

Parameters

CATEGORY NAME (OPTIONARGUMENT) (VARIANT) (SEVERITY)

Example

Code Block
make report_result CATEGORY=ClockConstraint NAME=GeneratedClock OPTIONARGUMENT=ClockConstraint VARIANT=LARGE SEVERITY=ERROR

...

Command

open_report

Description

Open result file

Parameters

CATEGORY NAME (OPTIONARGUMENT) (VARIANT)

Example

Code Block
make open_report CATEGORY=ClockConstraint NAME=GeneratedClock OPTIONARGUMENT=ClockConstraint VARIANT=LARGE

...

Command

open_simu_result

Description

Open simu result file

Parameters

CATEGORY NAME (OPTIONARGUMENT) (VARIANT)

Example

Code Block
make open_simu_result CATEGORY=ClockConstraint NAME=GeneratedClock OPTIONARGUMENT=ClockConstraint VARIANT=LARGE

...

Command

report_simu_result

Description

Generate simu report file from the result file

Parameters

CATEGORY NAME (OPTIONARGUMENT) (VARIANT) (SEVERITY)

Example

Code Block
make report_simu_result CATEGORY=ClockConstraint NAME=GeneratedClock OPTIONARGUMENT=ClockConstraint VARIANT=LARGE SEVERITY=ERROR

...

Command

open_simu_report

Description

Open simu report file

Parameters

CATEGORY NAME (OPTIONARGUMENT) (VARIANT)

Example

Code Block
make open_simu_report CATEGORY=ClockConstraint NAME=GeneratedClock OPTIONARGUMENT=ClockConstraint VARIANT=LARGE

...

Command

load_bitstream

Description

Load a bitstream through NxBase2

Parameters

CATEGORY NAME (OPTIONARGUMENT) (VARIANT)

Example

Code Block
make load_bitstream CATEGORY=ClockConstraint NAME=GeneratedClock OPTIONARGUMENT=ClockConstraint VARIANT=LARGE

...