FreeCalypso > hg > freecalypso-tools
comparison loadtools/simup.c @ 792:44e034f21916
fc-simint: brown paper bag
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 19 Mar 2021 04:47:32 +0000 |
parents | 0bbe0213812d |
children | 02490e26f53d |
comparison
equal
deleted
inserted
replaced
791:a31ae776de6e | 792:44e034f21916 |
---|---|
50 | 50 |
51 targv[0] = "sim-up"; | 51 targv[0] = "sim-up"; |
52 if (sim_voltage_mode_1v8) | 52 if (sim_voltage_mode_1v8) |
53 targv[1] = "1.8"; | 53 targv[1] = "1.8"; |
54 else | 54 else |
55 targv[2] = "3"; | 55 targv[1] = "3"; |
56 targv[2] = 0; | 56 targv[2] = 0; |
57 tpinterf_make_cmd(targv); | 57 tpinterf_make_cmd(targv); |
58 if (tpinterf_send_cmd() < 0) | 58 if (tpinterf_send_cmd() < 0) |
59 exit(1); | 59 exit(1); |
60 if (tpinterf_capture_output(20, sim_up_callback)) | 60 if (tpinterf_capture_output(20, sim_up_callback)) |