Skip to content

Commit

Permalink
altera,efinix,gowin,xilinx: Fix 'Flash SRAM' -> 'Load SRAM'
Browse files Browse the repository at this point in the history
  • Loading branch information
trabucayre committed Oct 9, 2023
1 parent 3e37a91 commit ec35f15
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/altera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void Altera::programMem(RawParser &_bit)
_jtag->set_state(Jtag::RUN_TEST_IDLE);
_jtag->toggleClk(1000000/clk_period);
/* write */
ProgressBar progress("Flash SRAM", byte_length, 50, _quiet);
ProgressBar progress("Load SRAM", byte_length, 50, _quiet);

int xfer_len = 512;
int tx_len;
Expand Down
2 changes: 1 addition & 1 deletion src/gowin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ bool Gowin::flashSRAM(const uint8_t *data, int length)
Jtag::tapState_t tx_end;
int byte_length = length / 8;

ProgressBar progress("Flash SRAM", byte_length, 50, _quiet);
ProgressBar progress("Load SRAM", byte_length, 50, _quiet);

/* UG704 3.4.3 */
if (is_gw5a) {
Expand Down
4 changes: 2 additions & 2 deletions src/xilinx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ void Xilinx::program_mem(ConfigBitstreamParser *bitfile)
Jtag::tapState_t tx_end;
int burst_len = byte_length / 100;

ProgressBar progress("Flash SRAM", byte_length, 50, _quiet);
ProgressBar progress("Load SRAM", byte_length, 50, _quiet);

for (int i=0; i < byte_length; i+=burst_len) {
if (i + burst_len > byte_length) {
Expand Down Expand Up @@ -733,7 +733,7 @@ bool Xilinx::xc3s_flow_program(ConfigBitstreamParser *bit)
const uint8_t *data = bit->getData();
int tx_len = burst_len * 8;
Jtag::tapState_t tx_end = Jtag::SHIFT_DR;
ProgressBar progress("Flash SRAM", byte_length, 50, _quiet);
ProgressBar progress("Load SRAM", byte_length, 50, _quiet);

flow_enable();

Expand Down

0 comments on commit ec35f15

Please sign in to comment.