Holger Vogt
6e5d084a02
"x64" was hardcoded into aux-digital.bat and is used in the compiling of digital.vcxproj.
That's problematic for trying to compile x86 or ARM64.
This patch makes digital.vcxproj pass the arch as arg2 to aux-digital.bat
Patch #120 provided by Mark Roszko
1 year ago
Giles Atkinson
ce1ecca15e
Add support for including Verilog simulation within an instance
of the d_cosim codemodel, using libvvp, the simulation runtime of
Icarus Verilog. This complements the existing method using Verilator.
The new source code is built into two binary shared libraries,
ivlng.so (or .DLL) and ivlng.vpi that are loaded during simulation.
2 years ago
Holger Vogt
1ad639d90a
Add d_cosim to MS project file
2 years ago
Giles Atkinson
566e2938f4
Add XSPICE code model d_cosim, a generic adaptor for digital cosimulation.
2 years ago
Brian Taylor
3bb6e86015
Add Windows Visual Studio support for the Isotel d_process xspice digital model. The Isotel mixedsim-master/examples/embedded/motorforce C code needs to have minor changes for _MSC_VER defines, and are not included with this commit. The changes relate to using #pragma pack(push, 1)...#pragma pack(pop) around some structs, and setting stdin/stdout in binary mode. It is doubtful that the cfunc.mod will compile on mingw or cygwin since I don't know if they support pipe/fork/exec/spawn calls. The code builds and runs on Windows, Linux, and MacOS. In the future, Giles Atkinson is looking at allowing Xspice models to load shared libraries (.dll, .so) which will avoid creating and communicating with an external program.
3 years ago
Holger Vogt
fa18c53c37
Update for all MSVC project files:
Update to VC2022 with v143 and /openmp:llvm (due to openmp task)
Add missing osdi files
Add missing udevices.c and logicexp.c
3 years ago
Holger Vogt
4cb6c93a1a
Add bidirectional bridge to MS project file for icm digital
4 years ago
Holger Vogt
246f9f5e9e
d_pwm: Add a hybrid oscillator (analg control in, digital out) with PWM
(pulse width modulation) capability, oscillation frequency is a parameter.
The model has been derived from the d_osc example.
4 years ago
Jim Monte
1867f5b727
Fix of buffer overrun in interpolation at endpoint of interval. Made cfunc.mod for tables more modular. Prevented buffer overrun when building file name. Added error checking for allocation failures in many locations. Made binary search for interpolation more efficient.
6 years ago
Holger Vogt
74a1a0b211
Update to Visual Studio 2019
6 years ago
Tim Edwards
fd79197fc0
xspice/icm/digital, introduce d_genlut
a digital n-input x m-output look-up table gate
10 years ago
Tim Edwards
8ae3b84c7c
xspice/icm/digital, introduce d_lut
a digital n-input look-up table gate
10 years ago
rlar
875cab6758
*.vcxproj, enable <GenerateDebugInformation>true
10 years ago
rlar
edaded001a
*.vcxproj, use <DebugInformationFormat>ProgramDatabase
10 years ago
rlar
96a35e0144
*.vcxproj, increase <WarningLevel>Level4
10 years ago
h_vogt
c022d8f419
introduce visualc/xspice
10 years ago