dejo, to science Serbian Hi, I'm not quite sure if this vhdl code and testbench is correct for the given task. Can you take a look?
Design a one-hour kitchen timer. The device should have buttons/switches to start and stop the timer, as well as to set the desired time interval for the alarm. Realize the task using the software package Quartus or in GHDL, confirm the correctness of the project task by simulation.
This is VHDL code:
use ieee.std_logic_1164.all; use ieee.numeric_std.all; entity Kitchen_Timer is port ( clk : in std_logic; -- Clock input reset : in std_logic; -- Reset input start : in std_logic; -- Start button input stop : in std_logic; -- Stop button input alarm : out std_logic -- Alarm output ); end entity Kitchen_Timer; -- Declare the architecture for the kitchen timer architecture Behavioral of Kitchen_Timer is signal count : integer range 0 to 3600 := 0; -- Counter for timer signal alarming : std_logic := '0'; -- Signal to indicate alarming interval signal alarm_en : std_logic := '0'; -- Signal to enable alarming interval signal alarm_cnt : integer range 0 to 600 := 0; -- Counter for alarming interval begin -- Process to control the kitchen timer and alarming interval process (clk, reset) begin if (reset = '1') then count <= 0; alarming <= '0'; alarm_en <= '0'; alarm_cnt <= 0; elsif (rising_edge(clk)) then if (stop = '1') then count <= 0; alarming <= '0'; alarm_en <= '0'; alarm_cnt <= 0; elsif (start = '1' and count < 3600) then count <= count + 1; if (count = 3600) then count <= 0; alarming <= '0'; alarm_en <= '0'; alarm_cnt <= 0; elsif (count > 0) then alarm_en <= '1'; end if; end if; if (alarm_en = '1') then if (alarm_cnt < 600) then alarm_cnt <= alarm_cnt + 1; else alarm_cnt <= 0; alarming <= '1'; end if; end if; end if; end process; -- Assign the alarm output alarm <= alarming; end architecture Behavioral; ``` This is Testbench: ```library ieee; use ieee.std_logic_1164.all; entity tb_Kitchen_Timer is end tb_Kitchen_Timer; architecture tb of tb_Kitchen_Timer is component Kitchen_Timer port (clk : in std_logic; reset : in std_logic; start : in std_logic; stop : in std_logic; alarm : out std_logic); end component; signal clk : std_logic; signal reset : std_logic; signal start : std_logic; signal stop : std_logic; signal alarm : std_logic; constant TbPeriod : time := 1000 ns; -- EDIT Put right period here signal TbClock : std_logic := '0'; signal TbSimEnded : std_logic := '0'; begin dut : Kitchen_Timer port map (clk => clk, reset => reset, start => start, stop => stop, alarm => alarm); -- Clock generation TbClock <= not TbClock after TbPeriod/2 when TbSimEnded /= '1' else '0'; -- EDIT: Check that clk is really your main clock signal clk <= TbClock; stimuli : process begin -- EDIT Adapt initialization as needed start <= '0'; stop <= '0'; -- Reset generation -- EDIT: Check that reset is really your reset signal reset <= '1'; wait for 100 ns; reset <= '0'; wait for 100 ns; -- EDIT Add stimuli here wait for 100 * TbPeriod; -- Stop the clock and hence terminate the simulation TbSimEnded <= '1'; wait; end process; end tb; -- Configuration block below is required by some simulators. Usually no need to edit. configuration cfg_tb_Kitchen_Timer of tb_Kitchen_Timer is for tb end for; end cfg_tb_Kitchen_Timer;``` #science
fatimaabdallah, to fedia Hispanics to voice their support for our President Donald J. Trump
SatansMaggotyCumFart, our President
kn33, BUZZER
WRONG
sorry, that’s incorrect. Trump is not president. Please try again.
ihavenopeopleskills, to fediverse Reddit is broken right now
Oka, Lemmy breaks when you sn$&÷;#'ifbdgide×]×$ [Unable to load content, please try again later.]
lemmyreader, FWIW.They fixed the error.The old Reddit site was still up. Fediverse is the future! :)
simplenomad, to random Hmmm, every server I'm getting spam from has a new user in their public directory named yqqwe, and each one of these users is following mastodon_admin_yggwe on a single-user instance mastodon.tinynews.org. One can look at the 924 followers of this admin and they all are named yqqwe and they are all on servers I've been getting #spam from. #fediverse #moderation #administration
simplenomad, I've found a few of these servers do NOT have the yqqwe account on them, these tend to be more active servers with admins moderating/removing spammers. Good!
vees, @simplenomad TIL that yqqwe is a Mastodon hobo sign for "open sign-ins". I had one that last logged in today. Deleted.
yqqwe
yq19820430@gmail.com
23.95.14.239 (ColoCrossing)
raymondpert, to random Threads will allow you to follow Mastodon users by year-end, according to Meta meeting details
https://techcrunch.com/2024/01/12/threads-will-allow-you-to-follow-mastodon-users-by-year-end-according-to-meta-meeting-details/ #Fediverse #Mastodon #Threads
masterdon1312, @raymondpert I assumed it was already happening with some of the accounts that have odd numbers that look like they come from another social network.
raymondpert, I recently had a chat with someone on kbin, or lemmy who pointed out to me that Mastodon posts go all over the Fedirverse.
I'd love to see more interpolarabilty among social networks.
You can look up your own profile, or someone you follow, on kbin/lemmy and see the posts presented differently... in magazine format etc.
Try it. No need to sign up tp look around.
https://fedia.io and many more.
ben, to random Wondering how hard it would be to build the absolute minimum single user ActivePub instance.
tobyjaffey, @ben Take a look at https://github.com/benbrown/shuttlecraft
smallcircles,
peertube, to random We are in the process of developing a mobile application in 2024 🎉 :peertube:
Before starting the technical development, we felt it was important to understand the expectations of people who are watching #PeerTube videos.
We're looking for a few people to take part in a short 30 minutes video conference during the week of 15-19 January to find out more about your needs and opinions regarding the adaptation of PeerTube as a mobile application.
Send us a direct message if you're interested!
kai, @peertube my wish is that the app will also run on Android TV 🙏🏼
box464, @peertube @Mrfunkedude @vkc check this out, I'm sure they would love to hear from creators on what you would like to see from a mobile app.
rolle, to random My experience so far with microblogging services:
Threads: I'm in a wrong party and don't know what to say. I feel awkward, everyone is so happy with their gym selfies. Everyone asking endless questions and asking things from the algorithm. Lots of people use it like Instagram, every post is a selfie with a meaningless caption. Some are copy-pasting the same sentence over and over again for each line. Endless quote-post memes... What the fuck is this shit I don't even...
Bluesky: A Twitter clone, but still very barebones. Notifications are still not working, there are no hashtags and I don't find any relevant content to me in any of the feeds. It's mostly Facebook-like what's up in life, furry scene and AI photos. No news, no tech/web scene, no nothing. Not to mention it's still invite-only and won't support ActivityPub (yeah I know the reasoning behind that but for me it's mostly bullshit, I look forward to trying bridgy fed).
Mastodon and the Fediverse: Here I'm at home on my own server. Most content, most features. A community is friendly but has also lots of nitpicking, some angry dudes. Still the most safest, most healthy and most customized, but somehow the most hated network elsewhere. "Too techie", they say. "Too difficult", they say. "No algorithm", they say.
Nostr: Kinda promising, but way too obscure, strange and even techier than Mastodon. Too much crypto shit.
Well, that's that. Sometimes I feel like Internet is ruined. But I believe in the open social web movement and I want to see this grow.
In no other place I can write a status update as freely as this, as long as this or with a low bar as this. I LIKE this 100%. The same can't be said in those other places I'm experimenting with out of curiosity. There I'm the weird kid. Here I feel like myself.
#Fediverse #SocialWeb #SocialMedia #Bluesky #Threads #Some #Mastodon
stalbaum, @rolle feeling you on the ruins. At the very least we can celebrate some level of disaggregation. Thanks for doing this research!
wjmaggos, I'd argue that we're stuck cause we're buying into their framing. decentralized social media is a technology, not a corporate platform. email is the best comparison. if you could only email with other Gmail accounts but Gmail was huge with lots of nice features, many would be happy with that. Same with Outlook. But when we explain it obviously shouldn't work that way, they'd have no argument. We're clunky like email was at first, but we'll obviously get better with more user adoption.
thenexusofprivacy, to random Strategies for the free fediverses
https://privacy.thenexus.today/strategies-for-the-free-fediverses/
The fediverse is evolving into different regions
"Meta's fediverses", federating with Meta to allow communications, potentially using services from Meta such as automated moderation or ad targeting, and potentially harvesting data on Meta's behalf.
"free fediverses" that reject Meta – and surveillance capitalism more generally
The free fediverses have a lot of advantages over Meta and Meta's fediverses, some of which will be very hard to counter, and clearly have enough critical mass that they'll be just fine.
Here's a set of strategies for the free fediverses to provide a viable alternative to surveillance capitalism. They build on the strengths of today's fediverse at its best – including natural advantages the free fediverses have that Threads and Meta's fediverses will having a very hard time countering – but also are hopefully candid about weaknesses that need to be addressed. It's a long list, so I'll be spreading out over multiple posts; this post currently goes into detail on the first two.
Opposition to Meta and surveillance capitalism is an appealing position. Highlight it!
Focus on consent (including consent-based federation), privacy, and safety
Emphasize "networked communities"
Support concentric federations of instances and communities
Consider "transitively defederating" Meta's fediverses (as well as defederating Threads)
Consider working with people and instances in Meta's fediverses (and Bluesky, Dreamwidth, and other social networks) whose goals and values align with the free fediverses'
Build a sustainable ecosystem
Prepare for Meta's (and their allies') attempts to paint the free fediverses in a bad light
Reduce the dependency on Mastodon
Prioritize accessibility, which is a huge opportunity
Commit to anti-fascist, anti-racist, anti-colonial, and pro-LGBTQIA2S+ principles, policies, practices, and norms for the free fediverses
Organize!
#fediverse #freefediverse #threads @fediverse @fediversenews
Crell, @thenexusofprivacy @fediverse @fediversenews Simply blocking Threads won't actually accomplish anything, except leave people stuck on Threads. If we want to actually help people, we need to take active actions beyond boycotts. We need to bleed users off of Threads, and we cannot do that if we block them outright.
sour, (edited ) @Crell
no cooperating with north korea
dansup, to random Merry Christmas! 🎄
You can now explore popular #fediverse accounts on FediDB ⬇️
Gargron, @dansup Nice!
weirdmustard, @dansup Wished we could sort them after "last active", too, bcs some of the big accounts - of course - left again right after creating their accounts in 2022.
tomasekeli, to random there sure are a lot of conspiracy-nuts on #peertube.
vmatt, @tomasekeli So true. It's the main reason I struggle to get in to it (as a viewer, never record anything myself). If you find any nuts-free instances I'd love to see 'em!
Mrfunkedude,
rolle, to random Over the past year these are the top arguments against the Fediverse:
- Too left wing
- Too difficult
- Not enough people
- Not enough mutuals
- Too nerdy / too niche
- Too confusing
- Too ugly
- Too many different options and apps
- Too many servers
- Not owned by a corporation (yes, really, one person told me he prefers an oligarch)
- There is no algorithm
- Hard to discover people
Many of these are based on the attitude and feeling, but there is some truth to it, for example discoverability is still a bit of an issue. I personally find most of the Fediverse web UIs clunky considering the big world standards, but I’m sure they will get better over time.
tothedaring, @rolle i think this crusade that so many on here have joined is a fruitless one. i think if we all just chilled out on here, ppl would start showing up. like, part of the issue of the fediverse is that half of the convos on here are about the fediverse or how we get more people to join.
if 30 ppl were all standing outside of a bar shouting about how great it is in there, would any of us believe them?
sour, @rolle
what wrong with left wing
peertube, to random We tried to simulate 1000 viewers on a #PeerTube video, and then on a livestream. (Note that 99% of twitch livestreams are under 1000 simultaneous views.)
We optimized accordingly... And here are the results: it works!
With a ~20$ server, PeerTube can now support such usecases.
Read all about these stress tests on our blog : https://joinpeertube.org/news/stress-test-2023
shalien, @peertube ... I am this close to actually try to setup a peertube server now .
pragmakist, @shalien
@peertube
What can I say?
I found that part to be surprisingly easy; so if you do hit a snag reach out.
danyork, to random Advocates for #ActivityPub - IF YOU HAVE A #WORDPRESS SITE, have you installed the ActivityPub plugin? https://wordpress.org/plugins/activitypub/
At the State of the Word address this week, Matt Mullenweg was asked about support for the plugin, and he commented that less than 5,000 sites had installed it. So he wasn't sure how interested people are in it.
So... if you have a WP site, let's start installing that plugin and making more sites available via ActivityPub! 😀
warrows, @danyork was he talking about plugins enabled on all WordPress installs or on wordpress.com?
danyork, @warrows He was talking about installations of the plugin in WordPress installs. When you install from the central plugin repository, they gather a count of how many sites have installed a plugin. And that number shows on the plugin page, and can help give people considering a plugin a sense of how actively the plugin is used.
Right now it says:
Active Installations: 4000+
ernest, to kbinMeta @testing Can you repeat your tests regarding tags between kbin and other instances? It should be significantly better ;)
testing, @ernest
thank you! tags from kbin do federate on microblogging fedi - kbin users should use the the tags section rather than the text body though
- i also had a look at friendica; sadly, friendica seems not to be capable to pick up tagged posts from kbin > see e.g. https://friendica.opensocial.space/search?tag=kbin > tried my luck at several friendica instances, and every time: no content from kbin
- tags in kbin threads do not display on kbin pwa, e.g. https://kbin.social/m/kbinDevlog/t/692551 > on microblogging fedi platforms, i can see three tags: kbin, fediverse, and kbinDevlog for the magazine > with kbin pwa, neither
kbin
norfediverse
show up
ernest, @testing Thanks for the summary. I will check those cases.