@@ -41,7 +41,7 @@ def cli(ctx):
4141
4242
4343@cli .command ("migrate-clip" , help = "Migrate CLIP files for FlexRIO custom devices" )
44- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
44+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
4545@click .pass_context
4646def migrate_clip_cmd (ctx , config ):
4747 """Migrate CLIP files for FlexRIO custom devices."""
@@ -58,7 +58,7 @@ def migrate_clip_cmd(ctx, config):
5858
5959
6060@cli .command ("install-target" , help = "Install LabVIEW FPGA target support files" )
61- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
61+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
6262@click .pass_context
6363def install_target_cmd (ctx , config ):
6464 """Install LabVIEW FPGA target support files."""
@@ -75,7 +75,7 @@ def install_target_cmd(ctx, config):
7575
7676
7777@cli .command ("get-window" , help = "Extract window netlist from Vivado project" )
78- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
78+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
7979@click .pass_context
8080def get_window_cmd (ctx , config ):
8181 """Extract window netlist from Vivado project."""
@@ -92,7 +92,7 @@ def get_window_cmd(ctx, config):
9292
9393
9494@cli .command ("gen-target" , help = "Generate LabVIEW FPGA target support files" )
95- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
95+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
9696@click .pass_context
9797def gen_target_cmd (ctx , config ):
9898 """Generate LabVIEW FPGA target support files."""
@@ -109,7 +109,7 @@ def gen_target_cmd(ctx, config):
109109
110110
111111@cli .command ("gen-hdl" , help = "Generate Window VHDL files from CSV/templates" )
112- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
112+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
113113@click .pass_context
114114def gen_hdl_cmd (ctx , config ):
115115 """Generate Window VHDL files only."""
@@ -126,7 +126,7 @@ def gen_hdl_cmd(ctx, config):
126126
127127
128128@cli .command ("gen-xdc" , help = "Generate XDC constraint files from templates" )
129- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
129+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
130130@click .pass_context
131131def gen_xdc_cmd (ctx , config ):
132132 """Generate XDC constraint files from templates."""
@@ -145,7 +145,7 @@ def gen_xdc_cmd(ctx, config):
145145@cli .command ("create-project" , help = "Create or update Vivado project" )
146146@click .option ("--overwrite" , "-o" , is_flag = True , help = "Overwrite and create a new project" )
147147@click .option ("--update" , "-u" , is_flag = True , help = "Update files in the existing project" )
148- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
148+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
149149@click .pass_context
150150def create_project_cmd (ctx , overwrite , update , config ):
151151 """Create or update Vivado project."""
@@ -164,7 +164,7 @@ def create_project_cmd(ctx, overwrite, update, config):
164164
165165
166166@cli .command ("check-syntax" , help = "Check Vivado RTL syntax and hierarchy quickly" )
167- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
167+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
168168@click .pass_context
169169def check_syntax_cmd (ctx , config ):
170170 """Check Vivado RTL syntax and hierarchy using RTL elaboration."""
@@ -181,7 +181,7 @@ def check_syntax_cmd(ctx, config):
181181
182182
183183@cli .command ("compile-project" , help = "Compile Vivado project and generate a LabVIEW FPGA bitfile" )
184- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
184+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
185185@click .pass_context
186186def compile_project_cmd (ctx , config ):
187187 """Compile Vivado project and generate a LabVIEW FPGA bitfile."""
@@ -198,7 +198,7 @@ def compile_project_cmd(ctx, config):
198198
199199
200200@cli .command ("launch-vivado" , help = "Launch Vivado with the current project" )
201- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
201+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
202202@click .pass_context
203203def launch_vivado_cmd (ctx , config ):
204204 """Launch Vivado with the current project."""
@@ -218,7 +218,7 @@ def launch_vivado_cmd(ctx, config):
218218@click .option ("--delete" , is_flag = True , help = "Automatically delete and re-clone without prompting" )
219219@click .option ("--pre" , is_flag = True , help = "Include pre-release versions when resolving versions" )
220220@click .option ("--latest" , is_flag = True , help = "Use latest version for all dependencies" )
221- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
221+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
222222@click .pass_context
223223def install_deps_cmd (ctx , delete , pre , latest , config ):
224224 """Install GitHub dependencies from dependencies.toml."""
@@ -239,7 +239,7 @@ def install_deps_cmd(ctx, delete, pre, latest, config):
239239
240240@cli .command ("create-modelsim" , help = "Create a ModelSim project for simulation" )
241241@click .option ("--overwrite" , "-o" , is_flag = True , help = "Overwrite existing ModelSim project" )
242- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
242+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
243243@click .pass_context
244244def create_modelsim_cmd (ctx , overwrite , config ):
245245 """Create a ModelSim project for HDL simulation."""
@@ -258,7 +258,7 @@ def create_modelsim_cmd(ctx, overwrite, config):
258258
259259@cli .command ("launch-modelsim" , help = "Launch ModelSim with the current project" )
260260@click .option ("--batch" , is_flag = True , help = "Run simulation in batch mode (no GUI)" )
261- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
261+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
262262@click .pass_context
263263def launch_modelsim_cmd (ctx , batch , config ):
264264 """Launch ModelSim with the current project."""
@@ -277,7 +277,7 @@ def launch_modelsim_cmd(ctx, batch, config):
277277
278278@cli .command ("sim-modelsim" , help = "Run ModelSim simulation in batch mode" )
279279@click .option ("--do-file" , default = None , help = "Custom .do file to run instead of default" )
280- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
280+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
281281@click .pass_context
282282def sim_modelsim_cmd (ctx , do_file , config ):
283283 """Run ModelSim simulation in batch mode and report results."""
@@ -295,7 +295,7 @@ def sim_modelsim_cmd(ctx, do_file, config):
295295
296296
297297@cli .command ("create-lvbitx" , help = "Create LabVIEW FPGA bitfile from Vivado output" )
298- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
298+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
299299@click .pass_context
300300def create_lvbitx_cmd (ctx , config ):
301301 """Create LabVIEW FPGA bitfile from Vivado output."""
@@ -312,15 +312,15 @@ def create_lvbitx_cmd(ctx, config):
312312
313313
314314@cli .command ("gen-guid" , help = "Generate a new GUID for LabVIEW FPGA target plugins" )
315- @click .option ("--config" , default = None , help = "Path to nihdlcommandconfig .py" )
315+ @click .option ("--config" , default = None , help = "Path to nihdlsettings .py" )
316316@click .pass_context
317317def gen_guid_cmd (ctx , config ):
318318 """Generate a new GUID for LabVIEW FPGA target plugins."""
319319
320320 def _gen_guid (** kwargs ):
321321 guid = common .generate_guid ()
322322 print ("Generated GUID:" , guid )
323- print ("Copy and paste this GUID into LVTargetGUID in the projectsettings.ini file." )
323+ print ("Copy and paste this GUID into your nihdlsettings.py file." )
324324 return 0
325325
326326 try :
0 commit comments