Forum Discussion
Altera_Forum
Honored Contributor
15 years agohi,
I have written a script in ticle (tcl) to create, compile and program the altera's device cyclone II. First two operations means create and compile design is working fine but when I am adding command to program the device it is showing errors that "Invalid command name quartus_pgm " while executing unknown_original quartus_pgm -c USB-Blaster -m JTAG -o P" please give me some solution. the script which I am using is shown below. basically I want to program the device from the script itself. ////////////////////////////////// load_package flow project_new test3 -overwrite # Assign family, device, and top-level file set_global_assignment -name FAMILY CycloneII set_global_assignment -name DEVICE EP2C70F896C6 set_global_assignment -name VERILOG_FILE mux2_1.v set_global_assignment -name TOP_LEVEL_ENTITY mux2_1 # Assign pins set_location_assignment -to clk Pin_AD15 set_location_assignment -to reset Pin_T29 # compile the project execute_flow -compile # Other assignments could follow quartus_pgm -c USB-Blaster -m JTAG -o P;mux2_1.sof project_close ///////////////////////////////////////////////////////// Thanks