Site Tools


com

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
com [2025/02/13 21:37] 2a00:1028:919d:bcb2:da5e:d3ff:fe59:4914com [2025/04/21 22:13] (current) 2a00:1028:8390:729e:2bb8:2a79:48ee:3eea
Line 1: Line 1:
 +http://jana.kalcev.cz/vyuka/kestazeni/4EK213-LM/LM-pred05.pdf
 +
 +==== FPGA ====
 +
 https://schaumont.dyn.wpi.edu/ece4530f19/lectures/lecture13-notes.html https://schaumont.dyn.wpi.edu/ece4530f19/lectures/lecture13-notes.html
  
Line 136: Line 140:
  variable start : integer := 46;  variable start : integer := 46;
  begin  begin
-     if first.exponent /= 0 or second.exponent /= 0 then+     if first.exponent /= 0 and second.exponent /= 0 then
     result.sign := first.sign xor second.sign;     result.sign := first.sign xor second.sign;
     result.exponent := first.exponent + second.exponent - fp32_EXPONENT_OFFSET;     result.exponent := first.exponent + second.exponent - fp32_EXPONENT_OFFSET;
Line 200: Line 204:
  if start = 24 then  if start = 24 then
  result.mantissa(22 downto 0) := buf(23 downto 1);  result.mantissa(22 downto 0) := buf(23 downto 1);
- elsif start = 23 then + -- elsif start = 23 then 
- result.mantissa(22 downto 0) := buf(22 downto 0); + -- result.mantissa(22 downto 0) := buf(22 downto 0); 
- elseif start > 0 + elsif start > 0 
- result.mantissa(22 downto start-23) := buf(start-1 downto 0)+ result.mantissa(22 downto 23-start) := buf(start-1 downto 0);
- else +
- result := fp32_ZERO;+
  end if;  end if;
  end if;  end if;
Line 241: Line 243:
 -------------------------------------------------------------------------------- --------------------------------------------------------------------------------
 </code> </code>
 +
 +==== Install ====
 +
 +https://www.linux-magazine.com/Online/Features/Resetting-Passwords-with-SystemRescueCd
 +
 +https://masoncb.medium.com/using-ventoy-to-install-windows-11-from-a-linux-device-ead91ce729d3
 +
 +==== WSL ====
 +https://www.reddit.com/r/bashonubuntuonwindows/comments/15jeuyu/you_can_start_mate_desktop_in_wsl_2_like_this/
 +
 +<code>
 +ln -s /dev/null /etc/systemd/system/acpid.service
 +ln -s /dev/null /etc/systemd/system/acpid.path
 +apt-get install xwayland glmark2 glmark2-wayland ubuntu-mate-desktop mate-terminal libgl1 libegl1
 +ln -s /mnt/wslg/runtime-dir/wayland-0* /run/user/$(id -u)
 +nohup Xwayland -br -ac -noreset :1 &
 +env DISPLAY=:1 WAYLAND_DISPLAY= mate-session
 +</code>
 +
 +==== Hyper-V ====
 +https://bbs.archlinux.org/viewtopic.php?id=271255
 +
 +solved this problem by forcing X to use the fbdev driver and providing the framebuffer device id like so.
 +Create the file:
 +
 +<code>
 +/etc/X11/xorg.conf.d/99-fbdev.conf
 +</code>
 +
 +Add the following:
 +
 +<code>
 +Section "Device"
 +        Identifier  "Card0"
 +        Driver      "fbdev"
 +        BusID       "PCI:0:8:0"
 +EndSection
 +</code>
 +
 +Please mind that your BusID might be different. You can just run
 +
 +<code>
 +Xorg -configure
 +</code>
 +
 +which will create /root/xorg.conf.new. Then look in this file for your BusID and act accordingly if it differs.
com.1739482654.txt.gz · Last modified: 2025/02/13 21:37 by 2a00:1028:919d:bcb2:da5e:d3ff:fe59:4914