summaryrefslogtreecommitdiff
path: root/platform/wavelet3d/remote_bitbang.h
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2024-05-20 10:24:29 -0600
committerAlejandro Soto <alejandro@34project.org>2024-05-24 05:58:41 -0600
commit1b112bfc4c053d9b795235385120f2eb7a97001c (patch)
treea90d5608811960f209538accb216f91e880b8774 /platform/wavelet3d/remote_bitbang.h
parent72d41c8d5e93e300f9e65e8752ae765428c96c83 (diff)
platform/wavelet3d: improve performance of JTAG-over-TCP
Diffstat (limited to 'platform/wavelet3d/remote_bitbang.h')
-rw-r--r--platform/wavelet3d/remote_bitbang.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/platform/wavelet3d/remote_bitbang.h b/platform/wavelet3d/remote_bitbang.h
deleted file mode 100644
index 0e294e8..0000000
--- a/platform/wavelet3d/remote_bitbang.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// https://github.com/pulp-platform/riscv-dbg/blob/master/tb/remote_bitbang/remote_bitbang.h
-// See LICENSE.Berkeley for license details.
-
-#ifndef REMOTE_BITBANG_H
-#define REMOTE_BITBANG_H
-
-#include <stdint.h>
-#include <sys/types.h>
-
-#define VERBOSE 0
-
-extern int rbs_err;
-
-extern unsigned char tck;
-extern unsigned char tms;
-extern unsigned char tdi;
-extern unsigned char trstn;
-extern unsigned char tdo;
-extern unsigned char quit;
-
-extern int socket_fd;
-extern int client_fd;
-
-//static const ssize_t buf_size = 64 * 1024;
-extern char recv_buf[64 * 1024];
-extern ssize_t recv_start, recv_end;
-
-// Create a new server, listening for connections from localhost on the given
-// port.
-int rbs_init(uint16_t port);
-
-// Do a bit of work.
-void rbs_tick(unsigned char *jtag_tck, unsigned char *jtag_tms,
- unsigned char *jtag_tdi, unsigned char *jtag_trstn,
- unsigned char jtag_tdo);
-
-unsigned char rbs_done();
-
-int rbs_exit_code();
-
-// Check for a client connecting, and accept if there is one.
-void rbs_accept();
-// Execute any commands the client has for us.
-// But we only execute 1 because we need time for the
-// simulation to run.
-void rbs_execute_command();
-
-void rbs_reset(); //Assert TRST
-void rbs_set(); //Deassert TRST
-
-void rbs_set_pins(char _tck, char _tms, char _tdi);
-
-#endif