In non-project mode, read each file individually before running the compilation commands.
Follow these steps to use one or more XDC files for synthesis and implementation:
- Read the design source files.
- Read the XDC constraint files.
- Run synthesis.
- Run implementation steps in sequence.
The following is an example script:
read_verilog [glob src/*.v]
read_xdc wave_gen_timing.xdc
read_xdc wave_gen_pins.xdc
synth_design -top wave_gen -part xc7k325tffg900-2
opt_design
place_design
route_design