Asynchronous Preset (PRE) and Clear (CLR) are direct, overriding control inputs for Flip-Flops and Latches. They are necessary for us to control the starting state for these components, such as during device start-up.
These inputs are asynchronous it doesn’t matter whether clock is low or high, they still override the output Q immediately.
const current = dv.current();
if (current && current.file.tags.some(t => t.toLowerCase() === "#topic")) {
const inlinks = current.file.inlinks;
// Split backlinks: general notes vs. lecture notes
const lectureLinks = inlinks.where(l => l.path.includes("/Lecture Notes/"));
const otherLinks = inlinks.where(l => !l.path.includes("/Lecture Notes/"));
if (otherLinks.length > 0) {
dv.header(4, "Links To This Page");
dv.list(otherLinks);
}
if (lectureLinks.length > 0) {
dv.header(4, "Referenced In Lecture Notes");
dv.list(lectureLinks);
}
}