Comments (3)
Hi!
refer to the DESim link again - I add a github repo location in the READme where you can find the source code. If you would like to contribute a Linux release, please use the issues on the fpgacademy site and we would be thrilled to get some outside help.
Thanks
Larry
from fpga-devcloud.
Did the link above help you get what you need to port DESim to Linux?
Thanks!
Larry
from fpga-devcloud.
Did the link above help you get what you need to port DESim to Linux?
Thanks!
Larry
Hi,
Yes I was able to get it to work. I haven't had time to test all of the demo programs.
To get it to work, in the C header files wherever saw:
`ifdef _WIN32
#include <winsock2.h>
#include <Ws2tcpip.h>
typedef SOCKET sockfd;
#else
typedef int sockfd;
#endif`
I modified to:
`ifdef _WIN32
#include <winsock2.h>
#include <Ws2tcpip.h>
typedef SOCKET sockfd;
#else
#include <sys/socket.h> // New Line
typedef int sockfd;
#endif`
I also modified the makefile from:
`
MODELSIM_DIR = C:\intelFPGA\19.1\modelsim_ae
CFLAGS = -m32 -static -c -Wall -g -fno-diagnostics-show-caret -fpic -Iinclude -I$(MODELSIM_DIR)/include
LDFLAGS = -m32 -static -g -shared -lmtipli
ifeq ($(OS),Windows_NT)
LDFLAGS += -lws2_32
LDFLAGS += -L$(MODELSIM_DIR)/win32aloem
endif`
to :
`
ifeq ($(OS),Windows_NT)
MODELSIM_DIR = C:\intelFPGA\19.1\modelsim_ae
else
MODELSIM_DIR = ~/intelFPGA/19.1/modelsim_ae
endif`
CFLAGS = -m32 -static -c -Wall -g -fno-diagnostics-show-caret -fpic -Iinclude -I$(MODELSIM_DIR)/include
ifeq ($(OS),Windows_NT)
LDFLAGS = -m32 -static -g -shared -lmtipli
LDFLAGS += -lws2_32
LDFLAGS += -L$(MODELSIM_DIR)/win32aloem
else
LDFLAGS = -m32 -static -g -shared -Llib/mtipli
LDFLAGS += -L$(MODELSIM_DIR)/win32aloem
endif`
After following the instructions in the READMEs, compiling with make and running the demos worked fine.
If there is a better way to do any of that please let me know
Thanks
-David
from fpga-devcloud.
Related Issues (20)
- Stratix10 PAC spec HOT 1
- ssh devcloud permission denied HOT 3
- Power analysis flow for OpenCL designs
- Increase the number of hugepages available to users HOT 1
- qsub -q batch@v-qsvr-nda -l nodes=1:fpga_compile:ppn=2 -d. build_fpga_hw.sh qsub: submit error (Unauthorized Request MSG=group ACL is not satisfied: user u64771@login-2, queue batch) HOT 2
- Shutdowm after running ./host
- README adjusts
- Error enumerating AFCs: not found
- running: qsub -q batch@v-qsvr-fpga -I -l nodes=s005-n007:ppn=2 qsub: submit error (Unauthorized Request MSG=group ACL is not satisfied: user u75615@login-2, queue batch) HOT 3
- Compilation generated invalid bitstream with Arria10 PAC on devcloud HOT 1
- Error while executing python code on devcloud: killed python file
- sign_aocx.sh is failing for Arria10 OpenCL nodes in devcloud. HOT 3
- sys/cdefs.h: No such file or directory on A10, oneAPI (A10/S10) nodes
- Specified license file does not exist for Quartus Prime Standard HOT 4
- Add additional devices to quartus installation HOT 2
- it won't work - any ideas? HOT 1
- USM support?
- qsub error
- vasp 5.4.4. patch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fpga-devcloud.