XNOR simple gate code

227 views
Skip to first unread message

BaroqueSphinx

unread,
Oct 9, 2021, 11:01:34 AM10/9/21
to EDA Playground

I’m trying to download the vhd files, but I keep getting a blank file called “getfile” each time and I don’t know how to fix it.

 

[2021-10-09 10:53:22 EDT] vlib work && vcom '-2019' '-o' design.vhd testbench.vhd  && vsim -c -do "vsim Testbench; run -all; exit"  
VSIMSA: Configuration file changed: `/home/runner/library.cfg'
ALIB: Library "work" attached.
work = /home/runner/work/work.lib
Aldec, Inc. VHDL Compiler, build 2020.04.130
VLM Initialized with path: "/home/runner/library.cfg".
DAGGEN WARNING DAGGEN_0523: "The source is compiled without the -dbg switch. Line breakpoints and assertion debug will not be available."
COMP96 File: design.vhd
COMP96 Compile Entity "Xnor_gate"
COMP96 Compile Architecture "Behavioral" of Entity "Xnor_gate"
COMP96 File: testbench.vhd
COMP96 Compile Entity "Xnor_tb"
COMP96 Compile Architecture "behavior" of Entity "Xnor_tb"
COMP96 Top-level unit(s) detected:
COMP96 Entity => Xnor_tb
COMP96 Compile success 0 Errors 0 Warnings  Analysis time :  20.0 [ms]
# Aldec, Inc. Riviera-PRO version 2020.04.130.7729 built for Linux64 on June 10, 2020.
# HDL, SystemC, and Assertions simulator, debugger, and design environment.
# (c) 1999-2020 Aldec, Inc. All rights reserved.
# VSIM: Error: Unknown library unit 'Testbench' specified.
# VSIM: Error: Simulation initialization failed.
Creating result.zip...
  adding: work.top (stored 0%)
  adding: .aldec/ (stored 0%)
  adding: .aldec/Riviera-PRO/ (stored 0%)
  adding: .aldec/Riviera-PRO/2020.04.130.7729/ (stored 0%)
  adding: .aldec/Riviera-PRO/2020.04.130.7729/config/ (stored 0%)
  adding: .aldec/Riviera-PRO/2020.04.130.7729/config/console.history (deflated 33%)
  adding: .aldec/Riviera-PRO/2020.04.130.7729/config/preferences/ (stored 0%)
  adding: .aldec/Riviera-PRO/2020.04.130.7729/config/preferences/framework.xml (deflated 61%)
  adding: .aldec/Riviera-PRO/2020.04.130.7729/config/preferences/application.xml (deflated 12%)
  adding: .aldec/Riviera-PRO/2020.04.130.7729/log/ (stored 0%)
  adding: .flexlmrc (stored 0%)
  adding: work/ (stored 0%)
  adding: work/0work.mgf (deflated 57%)
  adding: work/work.lib (deflated 55%)
  adding: work/3work.mgf (deflated 1%)
  adding: work/1work.mgf (deflated 64%)
  adding: library.cfg (deflated 9%)
  adding: testbench.vhd (deflated 60%)
  adding: ACCELLERA_OVL_VHDL_LIB/ (stored 0%)
  adding: design.vhd (deflated 34%)
  adding: .bash_logout (stored 0%)
  adding: .bashrc (deflated 23%)
  adding: .bash_profile (deflated 21%)
[2021-10-09 10:53:23 EDT] Waiting for download...
Done

EDA Playground

unread,
Oct 12, 2021, 3:37:49 AM10/12/21
to EDA Playground
One of the great things about EDA Playground is that it is possible to share code by sharing the URL of that code. This is useful when you are asking for someone's help. Please could you share the URL of the playground that is causing you trouble.

BaroqueSphinx

unread,
Oct 12, 2021, 9:26:04 AM10/12/21
to EDA Playground

EDA Playground

unread,
Oct 25, 2021, 7:26:47 AM10/25/21
to EDA Playground
Hi,

I'm not sure why I have only just seen this. Sorry. It looks like you have fixed it. (My guess is that your code wasn't compiling.)

Matthew

Reply all
Reply to author
Forward
0 new messages